This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Modern_FP_With_MTL where | |
import Effect.Console as Console | |
import Effect (Effect) | |
import Effect.Class (class MonadEffect, liftEffect) | |
import Control.Monad.Trans.Class (class MonadTrans, lift) | |
import Prelude | |
{- | |
Since Purescript does not have Haskell's "GeneralizedNewtypeDeriving" language |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE RankNTypes #-} | |
{-# LANGUAGE TupleSections #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE TypeInType #-} | |
{-# LANGUAGE GADTs #-} | |
module Data.Sheaves.Optics where | |
type a + b = Either a b |