parse case exprs

This commit is contained in:
crumbtoo
2024-02-06 13:04:36 -07:00
parent 57f5206b16
commit 15884336f1
3 changed files with 48 additions and 9 deletions

View File

@@ -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 <#>