package spotlib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Xlist.InfixSource

include Monad.Infix with type 'a t := 'a list
Sourceval (>>=) : 'a list -> ('a -> 'b list) -> 'b list

synonym of bind

Sourceval (>>|) : 'a list -> ('a -> 'b) -> 'b list

synonum of fmap, with the flipped arguments

Sourceval (>|=) : 'a list -> ('a -> 'b) -> 'b list

synonum of fmap, with the flipped arguments

Applicative style binops

Sourceval (^<$>) : ('a -> 'b) -> 'a list -> 'b list

same as map, <$> in Haskell

Sourceval (/<*>) : ('a -> 'b) list -> 'a list -> 'b list

<*> in Haskell

Sourceval (--) : int -> int -> int list

same as from_to. [f--t = [f..t]]

Sourceval (+::=) : 'a list ref -> 'a -> unit

Same as accum