Personal tools

List of partial functions

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
* init
* init
* last
* last
 +
* foldl
 +
* foldl'
* foldl1
* foldl1
* foldl1'
* foldl1'
-
* foldl1
 
* foldr1
* foldr1
* cycle
* cycle
* !!
* !!
* genericIndex
* genericIndex
-
* foldl
 
-
* foldl'
 
-
* foldl1
 
-
* foldr1
 
* length
* length
* sum
* sum

Revision as of 02:28, 12 October 2012

Contents

1 Partial functions in Prelude

1.1 List functions

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

1.2 Maybe functions

  • fromJust

1.3 Other

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

2 Partial functions in other base libraries

... (todo)

2.1 Data.Maybe

  • fromJust

3 Partial functions in other Haskell Platform packages

... (todo)