Difference between revisions of "List of partial functions"

From HaskellWiki
Jump to: navigation, search
Line 19: Line 19:
 
* length
 
* length
 
* sum
 
* sum
  +
* reverse
 
* ... (todo)
 
* ... (todo)
   

Revision as of 02:29, 12 October 2012

Partial functions in Prelude

List functions

  • maximum
  • minimum
  • head
  • tail
  • init
  • last
  • foldl
  • foldl'
  • foldl1
  • foldl1'
  • foldr1
  • cycle
  •  !!
  • genericIndex
  • length
  • sum
  • reverse
  • ... (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)