|
63 | 63 |
|
64 | 64 | class Error a where
|
65 | 65 | noMsg :: a
|
66 |
| - strMsg :: Prim.String -> a |
| 66 | + strMsg :: String -> a |
67 | 67 |
|
68 | 68 |
|
69 | 69 | ### Type Class Instances
|
|
142 | 142 | data Free f a where
|
143 | 143 | Pure :: a -> Free f a
|
144 | 144 | Free :: f (Free f a) -> Free f a
|
145 |
| - Gosub :: forall s. (forall r. ({ } -> Free f r) -> (r -> Free f a) -> s) -> s -> Free f a |
| 145 | + Gosub :: forall s. (forall r. (Unit -> Free f r) -> (r -> Free f a) -> s) -> s -> Free f a |
146 | 146 |
|
147 | 147 |
|
148 | 148 | ### Type Classes
|
|
184 | 184 |
|
185 | 185 | resume :: forall f a. (Functor f) => Free f a -> Either (f (Free f a)) a
|
186 | 186 |
|
187 |
| - resumeGosub :: forall f a. (Functor f) => (forall s. (forall r. ({ } -> Free f r) -> (r -> Free f a) -> s) -> s) -> Either (f (Free f a)) (Free f a) |
| 187 | + resumeGosub :: forall f a. (Functor f) => (forall s. (forall r. (Unit -> Free f r) -> (r -> Free f a) -> s) -> s) -> Either (f (Free f a)) (Free f a) |
188 | 188 |
|
189 | 189 |
|
190 | 190 | ## Module Control.Monad.Identity
|
|
385 | 385 |
|
386 | 386 | gets :: forall s m a. (Monad m, MonadState s m) => (s -> a) -> m a
|
387 | 387 |
|
388 |
| - modify :: forall s m. (Monad m, MonadState s m) => (s -> s) -> m { } |
| 388 | + modify :: forall s m. (Monad m, MonadState s m) => (s -> s) -> m Unit |
389 | 389 |
|
390 |
| - put :: forall m s. (Monad m, MonadState s m) => s -> m { } |
| 390 | + put :: forall m s. (Monad m, MonadState s m) => s -> m Unit |
391 | 391 |
|
392 | 392 |
|
393 | 393 | ## Module Control.Monad.State.Trans
|
|
443 | 443 | ### Types
|
444 | 444 |
|
445 | 445 | data Delay a where
|
446 |
| - Delay :: { } -> a -> Delay a |
| 446 | + Delay :: Unit -> a -> Delay a |
447 | 447 |
|
448 | 448 | type Trampoline a = Free Delay a
|
449 | 449 |
|
|
459 | 459 |
|
460 | 460 | ### Values
|
461 | 461 |
|
462 |
| - delay :: forall a. ({ } -> a) -> Trampoline a |
| 462 | + delay :: forall a. (Unit -> a) -> Trampoline a |
463 | 463 |
|
464 | 464 | done :: forall a. a -> Trampoline a
|
465 | 465 |
|
|
521 | 521 |
|
522 | 522 | listens :: forall w m a b. (Monoid w, Monad m, MonadWriter w m) => (w -> b) -> m a -> m (Tuple a b)
|
523 | 523 |
|
524 |
| - tell :: forall w m a. (Monoid w, Monad m, MonadWriter w m) => w -> m { } |
| 524 | + tell :: forall w m a. (Monoid w, Monad m, MonadWriter w m) => w -> m Unit |
525 | 525 |
|
526 | 526 |
|
527 | 527 | ## Module Control.Monad.Writer.Trans
|
|
0 commit comments