Difference between revisions of "List of partial functions"

From HaskellWiki
Jump to navigation Jump to search
Line 47: Line 47:
 
==Partial functions in other base libraries==
 
==Partial functions in other base libraries==
   
  +
===Data.Map===
... (todo)
 
  +
  +
* (!)
   
 
==Partial functions in other Haskell Platform packages==
 
==Partial functions in other Haskell Platform packages==

Revision as of 08:57, 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
  • succ
  • pred
  • toEnum
  • (^)
  • fail
  • ... (todo)

Partial functions in other base libraries

Data.Map

  • (!)

Partial functions in other Haskell Platform packages

... (todo)