List of partial functions: Difference between revisions

From HaskellWiki
No edit summary
Line 14: Line 14:
* foldl1'
* foldl1'
* foldr1
* foldr1
* scanl1
* scanr1
* cycle
* cycle
* !!
* !!
* genericIndex
* genericIndex
* genericLength
* length
* length
* sum
* sum

Revision as of 02:33, 12 October 2012

Partial functions in Prelude

List functions

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

Maybe functions

  • fromJust

Other

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

Partial functions in other base libraries

... (todo)

Partial functions in other Haskell Platform packages

... (todo)