X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.runtime%2Fscl%2FPrelude.md;h=531a63587ac2635f6859d6ff84e2d7433ebf7102;hp=f60a09b975587d80b6df58854b843c35f7ccd03f;hb=HEAD;hpb=969bd23cab98a79ca9101af33334000879fb60c5 diff --git a/bundles/org.simantics.scl.runtime/scl/Prelude.md b/bundles/org.simantics.scl.runtime/scl/Prelude.md index f60a09b97..531a63587 100644 --- a/bundles/org.simantics.scl.runtime/scl/Prelude.md +++ b/bundles/org.simantics.scl.runtime/scl/Prelude.md @@ -7,8 +7,10 @@ ## Comparison -::class[Eq, Ord] +::class[Ord] +::value[!=] ::value[minimum, maximum, minimumBy, maximumBy, &<&] +::value[isDigit, isFinite, isInfinite, isNaN] ## Numeric functions @@ -19,7 +21,7 @@ ## Tuples -::value[fst, snd, curry, uncurry, curry3, uncurry3] +::value[fst, snd, curry, uncurry, curry3, uncurry3, swap] ## Maybe @@ -35,7 +37,7 @@ ::class[Sequence] ::value[!, getList] -::value[elem] +::value[elem, elemIndex] ::value[filter, concatMap] ::value[foldl, foldl1, foldr] ::value[unfoldl, unfoldr] @@ -43,13 +45,16 @@ ::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[mapFirst, mapMaybe] +::value[mapFirst, mapMaybe, mapI] ::value[build] +::value[partition] ::value[uniqueWith] +::value[transpose] +::value[takeWhile] ## Strings @@ -57,9 +62,11 @@ ::value[contains] ::value[charAt] ::value[isLetter, addChar, subChar] +::value[intercalate] ::value[string] ::value[joinWithSeparator] ::value[printWithSeparator] +::value[split] # Higher order programming @@ -74,13 +81,16 @@ ## Monads ::class[Monad] -::value[>>] +::value[>>, >=>] ::class[FunctorM] ::value[repeatForever] ::class[MonadZero] ::value[guard] ::class[MonadPlus, MonadOr] ::value[ignoreM] +::class[MonadE] +::value[compE] +::class[MonadZeroE] # Side-effects @@ -121,19 +131,13 @@ ## Other conversions -::value[toDoubleArray, fromDoubleArray, arrayToList] - -## Hashing - -::class[Hashable] -::value[hash] +::value[toDoubleArray, fromDoubleArray, arrayToList, listToArray] ## Serialization ::data[Builtin/Binding] ::class[Builtin/Serializable] ::value[Builtin/binding] -::value[serialize, deserialize] ## Typeable @@ -146,6 +150,10 @@ ::data[Dynamic] ::value[toDynamic, fromDynamic] +# Exception handling + +::value[catch] + # Undocumented entities ::undocumented[] \ No newline at end of file