parse case exprs
This commit is contained in:
@@ -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