summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
7db6413)
refs #7490
Change-Id: I4fef578b2880098755274f5078782db4d0dc0940
+::class[Ord]
+::value[!=]
::value[minimum, maximum, minimumBy, maximumBy, &<&]
::value[minimum, maximum, minimumBy, maximumBy, &<&]
+::value[isDigit, isFinite, isInfinite, isNaN]
-::value[fst, snd, curry, uncurry, curry3, uncurry3]
+::value[fst, snd, curry, uncurry, curry3, uncurry3, swap]
::value[sort, sortBy, sortWith]
::value[index, indexBy, indexWith]
::value[unique, uniqueBy]
::value[sort, sortBy, sortWith]
::value[index, indexBy, indexWith]
::value[unique, uniqueBy]
-::value[tail, reverse, range, \\, deleteAllBy, for, lookup, addList]
+::value[tail, reverse, range, \\, deleteAllBy, for, forI, lookup, addList]
::value[groupBy, intersect, findFirst]
::value[singletonList]
::value[group, groupWith]
::value[groupBy, intersect, findFirst]
::value[singletonList]
::value[group, groupWith]
-::value[mapFirst, mapMaybe]
+::value[mapFirst, mapMaybe, mapI]
+::value[transpose]
+::value[takeWhile]
::value[contains]
::value[charAt]
::value[isLetter, addChar, subChar]
::value[contains]
::value[charAt]
::value[isLetter, addChar, subChar]
::value[string]
::value[joinWithSeparator]
::value[printWithSeparator]
::value[string]
::value[joinWithSeparator]
::value[printWithSeparator]
# Higher order programming
# Higher order programming
-::value[toDoubleArray, fromDoubleArray, arrayToList]
-
-## Hashing
-
-::class[Hashable]
-::value[hash]
+::value[toDoubleArray, fromDoubleArray, arrayToList, listToArray]
## Serialization
::data[Builtin/Binding]
::class[Builtin/Serializable]
::value[Builtin/binding]
## Serialization
::data[Builtin/Binding]
::class[Builtin/Serializable]
::value[Builtin/binding]
-::value[serialize, deserialize]
::data[Dynamic]
::value[toDynamic, fromDynamic]
::data[Dynamic]
::value[toDynamic, fromDynamic]
+# Exception handling
+
+::value[catch]
+
# Undocumented entities
::undocumented[]
\ No newline at end of file
# Undocumented entities
::undocumented[]
\ No newline at end of file
flip :: (a -> b -> <e> c) -> b -> a -> <e> c
flip f x y = f y x
flip :: (a -> b -> <e> c) -> b -> a -> <e> c
flip f x y = f y x
+"Swaps the order of elements of a pair (2-tuple)."
swap :: (a,b) -> (b,a)
swap (x,y) = (y,x)
swap :: (a,b) -> (b,a)
swap (x,y) = (y,x)
splitString :: String -> String -> [String]
splitString source pattern = arrayToList $ splitString_ source pattern
splitString :: String -> String -> [String]
splitString source pattern = arrayToList $ splitString_ source pattern
+"""
+`split pattern text` splits `text` around matches of the given regular expression `pattern`.
+
+This function works as if by invoking the two-argument split method with the given expression and a limit argument of zero. Trailing empty strings are therefore not included in the resulting array.
+
+The string "boo:and:foo", for example, yields the following results with these expressions:
+
+ Regex Result
+ : { "boo", "and", "foo" }
+ o { "b", "", ":and:f" }
+"""
split :: String -> String -> [String]
split pattern text = arrayToList $ splitString_ text pattern
split :: String -> String -> [String]
split pattern text = arrayToList $ splitString_ text pattern