5050#### ` some `
5151
5252``` purescript
53- some :: forall f a. (Alternative f, Lazy1 f ) => f a -> f [a]
53+ some :: forall f a. (Alternative f, Lazy (f [a]) ) => f a -> f [a]
5454```
5555
5656Attempt a computation multiple times, requiring at least one success.
@@ -61,7 +61,7 @@ termination.
6161#### ` many `
6262
6363``` purescript
64- many :: forall f a. (Alternative f, Lazy1 f ) => f a -> f [a]
64+ many :: forall f a. (Alternative f, Lazy (f [a]) ) => f a -> f [a]
6565```
6666
6767Attempt a computation multiple times, returning as many successful results
@@ -329,24 +329,6 @@ to be _deferred_.
329329Usually, this means that a type contains a function arrow which can
330330be used to delay evaluation.
331331
332- #### ` Lazy1 `
333-
334- ``` purescript
335- class Lazy1 l where
336- defer1 :: forall a. (Unit -> l a) -> l a
337- ```
338-
339- A version of ` Lazy ` for type constructors of one type argument.
340-
341- #### ` Lazy2 `
342-
343- ``` purescript
344- class Lazy2 l where
345- defer2 :: forall a b. (Unit -> l a b) -> l a b
346- ```
347-
348- A version of ` Lazy ` for type constructors of two type arguments.
349-
350332#### ` fix `
351333
352334``` purescript
@@ -357,22 +339,6 @@ fix :: forall l a. (Lazy l) => (l -> l) -> l
357339
358340The ` Lazy ` instance allows us to generate the result lazily.
359341
360- #### ` fix1 `
361-
362- ``` purescript
363- fix1 :: forall l a. (Lazy1 l) => (l a -> l a) -> l a
364- ```
365-
366- A version of ` fix ` for type constructors of one type argument.
367-
368- #### ` fix2 `
369-
370- ``` purescript
371- fix2 :: forall l a b. (Lazy2 l) => (l a b -> l a b) -> l a b
372- ```
373-
374- A version of ` fix ` for type constructors of two type arguments.
375-
376342
377343## Module Control.Monad
378344
@@ -382,7 +348,7 @@ This module defines helper functions for working with `Monad` instances.
382348#### ` replicateM `
383349
384350``` purescript
385- replicateM :: forall m a. (Monad m) => Number -> m a -> m [a]
351+ replicateM :: forall m a. (Monad m) => Int -> m a -> m [a]
386352```
387353
388354Perform a monadic action ` n ` times collecting all of the results.
@@ -419,7 +385,7 @@ filterM :: forall a m. (Monad m) => (a -> m Boolean) -> [a] -> m [a]
419385
420386Filter where the predicate returns a monadic ` Boolean ` .
421387
422- For example:
388+ For example:
423389
424390``` purescript
425391powerSet :: forall a. [a] -> [[a]]
0 commit comments