Commit 38e0abe0 authored by Kai-Oliver Prott's avatar Kai-Oliver Prott
Browse files

Update Guide

parent cb86d7b8
......@@ -144,7 +144,6 @@ adjust f i (Bin k x h l r)
| i < k = Bin k x h (adjust f i l) r
| otherwise = Bin k x h l (adjust f i r)
--TODO: this is a complete rewrite
--- Combines delFrom and lookup.
splitLookup :: Ord k => k -> Map k a -> (Map k a, Maybe a, Map k a)
splitLookup _ Tip = (Tip, Nothing, Tip)
......
......@@ -28,7 +28,7 @@ addListToFM_C --> insertListWith | argument order changed!
delFromFM --> delete | argument order changed!
delListFromFM --> deleteAll | argument order changed!
updFM --> adjust | argument order changed!
splitFM --> splitLookup | return type changed!
splitFM --> removed, can be user-defined (split lookup is different)
plusFM --> union | first two arguments are swapped!
plusFM_C --> unionWith
minusFM --> difference
......@@ -175,5 +175,6 @@ Time -> Data.Time
Integer -> removed, important functions integrated in prelude
Float -> removed, important functions integrated in prelude
i2f -> Prelude.fromInt
Read -> use read instance
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment