Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fredrik Wieczerkowski
curry-libs
Commits
38e0abe0
Commit
38e0abe0
authored
Aug 09, 2018
by
Kai-Oliver Prott
Browse files
Update Guide
parent
cb86d7b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Data/Map.curry
View file @
38e0abe0
...
...
@@ -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)
...
...
MigrationGuide.txt
View file @
38e0abe0
...
...
@@ -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 --> split
L
ookup
| return type changed!
splitFM -->
removed, can be user-defined (
split
l
ookup
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment