parse case exprs
This commit is contained in:
1 parent
57f5206b16
commit
15884336f1
3 files changed
+48
-9
No files matched your search
@@ -4,7 +4,7 @@ module Compiler.Types
|
||||
, Located(..)
|
||||
, locating
|
||||
, nolo
|
||||
, (<<~), (<~>)
|
||||
, (<<~), (<~>), (<#>)
|
||||
|
||||
-- * Re-exports
|
||||
, Comonad
|
||||
@@ -86,3 +86,10 @@ mc <~> ma = mc >>- \f -> ma =>> f
|
||||
|
||||
infixl 4 <~>
|
||||
|
||||
-- this is getting silly
|
||||
|
||||
(<#>) :: (Functor f) => f (a -> b) -> a -> f b
|
||||
fab <#> a = fmap ($ a) fab
|
||||
|
||||
infixl 4 <#>
|
||||
|
||||
Reference in new issue
Block a user