Difference between revisions of "List of partial functions"

From HaskellWiki
Jump to: navigation, search
(List functions)
Line 11: Line 11:
 
* foldl1
 
* foldl1
 
* foldl1'
 
* foldl1'
  +
* foldl1
 
* foldr1
 
* foldr1
 
* cycle
 
* cycle
Line 22: Line 23:
 
* sum
 
* sum
 
* ... (todo)
 
* ... (todo)
  +
  +
===Maybe functions===
  +
  +
* fromJust
   
 
===Other===
 
===Other===

Revision as of 02:27, 12 October 2012

Partial functions in Prelude

List functions

  • maximum
  • minimum
  • head
  • tail
  • init
  • last
  • foldl1
  • foldl1'
  • foldl1
  • foldr1
  • cycle
  •  !!
  • genericIndex
  • foldl
  • foldl'
  • foldl1
  • foldr1
  • length
  • sum
  • ... (todo)

Maybe functions

  • fromJust

Other

  • read
  • quot
  • rem
  • quotRem
  • div
  • mod
  • divMod
  • ... (todo)

Partial functions in other base libraries

... (todo)

Data.Maybe

  • fromJust

Partial functions in other Haskell Platform packages

... (todo)