Skip to main content

Morphir Scala Support

This page details which Morphir-Elm features are currently supported.

SDK Compatibility​

This section lists the SDK types and functions currently supported in this version of Morphir-Scala.

Morphir.SDK.Aggregate​

FunctionMorphir-Elm Version IntroducedSupported
groupByv2.65.1✕
aggregatev2.65.1✕
aggregateMapv2.19.0✕
aggregateMap2v2.19.0✕
aggregateMap3v2.19.0✕
aggregateMap4v2.68.0✕
countv2.19.0✕
sumOfv2.19.0✕
minimumOfv2.19.0✕
maximumOfv2.19.0✕
averageOfv2.19.0✕
weightedAverageOfv2.19.0✕
byKeyv2.19.0✕
withFilterv2.19.0✕
constructAggregationCallv2.66.0✕

Morphir.SDK.Basics​

Bool​

FunctionMorphir-Elm Version IntroducedSupported
notv0.4.0✓
andv0.4.0✓
orv0.4.0✓
xorv0.4.0✓

Char​

FunctionMorphir-Elm Version IntroducedSupported
lessThanv2.0.0✓
greaterThanv2.0.0✕
lessThanOrEqualv2.0.0✕
greaterThanOrEqualv2.0.0✕
maxv2.0.0✕
minv2.0.0✕
comparev2.0.0✓

Float​

FunctionMorphir-Elm Version IntroducedSupported
dividev0.4.0✓
roundv0.4.0✕
floorv0.4.0✕
ceilingv0.4.0✕
truncatev0.4.0✕
isNanv0.4.0✕
isInfinitev0.4.0✕
ev0.4.0✓
piv0.4.0✓
cosv0.4.0✕
sinv0.4.0✕
tanv0.4.0✕
acosv0.4.0✕
asinv0.4.0✕
atanv0.4.0✕
atan2v0.4.0✕
degreesv2.0.0✕
radiansv2.0.0✕
turnsv2.0.0✕
toPolarv2.0.0✕
fromPolarv2.0.0✕
lessThanv2.0.0✓
greaterThanv2.0.0✕
lessThanOrEqualv2.0.0✕
greaterThanOrEqualv2.0.0✕
maxv2.0.0✕
minv2.0.0✕
comparev2.0.0✓

Int​

FunctionMorphir-Elm Version IntroducedSupported
integerDividev0.4.0✓
toFloatv2.0.0✓
modByv0.4.0✓
remainderByv0.4.0✓
lessThanv2.0.0✓
greaterThanv2.0.0✓
lessThanOrEqualv2.0.0✓
greaterThanOrEqualv2.0.0✓
maxv2.0.0✕
minv2.0.0✕
comparev2.0.0✓

List​

FunctionMorphir-Elm Version IntroducedSupported
appendv2.0.0✓
lessThanv2.0.0✓
greaterThanv2.0.0✕
lessThanOrEqualv2.0.0✕
greaterThanOrEqualv2.0.0✕
maxv2.0.0✕
minv2.0.0✕
comparev2.0.0✓

Number​

FunctionMorphir-Elm Version IntroducedSupported
addv2.10.0✕
subtractv2.11.0✕
multiplyv2.11.0✕
dividev2.10.0✕
powerv2.0.0✕
negatev2.11.0✕
absv2.11.0✕
clampv2.0.0✕

String​

FunctionMorphir-Elm Version IntroducedSupported
appendv2.0.0✕
lessThanv2.0.0✓
greaterThanv2.0.0✕
lessThanOrEqualv2.0.0✕
greaterThanOrEqualv2.0.0✕
maxv2.0.0✕
minv2.0.0✕
comparev2.0.0✓

Tuple​

FunctionMorphir-Elm Version IntroducedSupported
lessThanv2.0.0✓
greaterThanv2.0.0✕
lessThanOrEqualv2.0.0✕
greaterThanOrEqualv2.0.0✕
maxv2.0.0✕
minv2.0.0✕
comparev2.0.0✓

Morphir.SDK.Bool​

FunctionMorphir-Elm Version IntroducedSupported
truev0.4.0✓
falsev0.4.0✓
notv0.4.0✓
andv0.4.0✓
orv0.4.0✓
xorv0.4.0✓

Char​

FunctionMorphir-Elm Version IntroducedSupported
isUpperv2.31.3✕
isLowerv2.31.3✕
isAlphav2.31.3✕
isAlphaNumv2.31.3✕
isDigitv2.31.3✕
isOctDigitv2.31.3✕
isHexDigitv2.31.3✕
toUpperv2.31.3✕
toLowerv2.31.3✕
toLocaleUpperv2.31.3✕
toLocaleLowerv2.31.3✕
toCodev2.31.3✕
fromCodev2.31.3✕

Morphir.SDK.Decimal​

FunctionMorphir-Elm Version IntroducedSupported
fromIntv2.8.0✓
fromFloatv2.8.0✕
fromStringv2.8.0✓
hundredv2.8.0✕
thousandv2.8.0✓
millionv2.8.0✕
tenthv2.8.0✕
hundredthv2.8.0✕
thousandthv2.8.0✕
millionthv2.8.0✕
bpsv2.8.0✓
toStringv2.8.0✕
addv2.8.0✓
subv2.8.0✓
negatev2.8.0✓
mulv2.8.0✓
divv2.12.0✓
divWithDefaultv2.12.0✓
truncatev2.8.0✓
roundv2.8.0✓
gtv2.8.0✓
gtev2.8.0✓
eqv2.8.0✓
neqv2.8.0✓
ltv2.8.0✓
ltev2.8.0✓
comparev2.8.0✓
absv2.8.0✓
shiftDecimalLeftv2.12.0✕
shiftDecimalRightv2.12.0✕
zerov2.8.0✓
onev2.8.0✓
minusOnev2.8.0✓

Morphir.SDK.Dict​

Types​

TypeMorphir-Elm Version IntroducedSupported
Dictv1.0.0✓

Functions​

FunctionMorphir-Elm Version IntroducedSupported
emptyv2.41.0✓
singletonv2.41.0✓
insertv2.41.0✓
updatev2.41.0✓
removev2.41.0✓
isEmptyv2.41.0✓
memberv2.41.0✓
getv2.41.0✓
sizev2.41.0✓
keysv2.41.0✓
valuesv2.41.0✓
toListv2.41.0✓
fromListv2.41.0✓
mapv2.41.0✕
foldlv2.41.0✕
foldrv2.41.0✕
filterv2.41.0✓
partitionv2.41.0✓
unionv2.41.0✕
intersectv2.41.0✕
diffv2.41.0✓
mergev2.41.0✓

Morphir.SDK.Float​

Types​

TypeMorphir-Elm Version IntroducedSupported
Floatv0.4.0✓
Float32v0.4.0✓
Float64v0.4.0✓

Functions​

FunctionMorphir-Elm Version IntroducedSupported
dividev0.4.0✓
fromIntv0.4.0✕
roundv0.4.0✕
floorv0.4.0✕
ceilingv0.4.0✕
truncatev0.4.0✕
sqrtv0.4.0✕
logBasev0.4.0✓
ev0.4.0✓
piv0.4.0✓
cosv0.4.0✕
sinv0.4.0✕
tanv0.4.0✕
acosv0.4.0✕
asinv0.4.0✕
atanv0.4.0✕
atan2v0.4.0✕
isNanv0.4.0✕
isInfinitev0.4.0✕
degreesv2.0.0✕
radiansv2.0.0✕
turnsv2.0.0✕
toPolarv2.0.0✕
fromPolarv2.0.0✕

Morphir.SDK.Int​

Types​

TypeMorphir-Elm Version IntroducedSupported
Intv0.4.0✓
Int8v0.4.0✓
Int16v0.4.0✓
Int32v0.4.0✓
Int64v0.4.0✓

Functions​

FunctionMorphir-Elm Version IntroducedSupported
fromInt8v2.9.0✕
toInt8v2.9.0✕
fromInt16v2.9.0✕
toInt16v2.9.0✕
fromInt32v2.9.0✕
toInt32v2.9.0✕
fromInt64v2.9.0✕
toInt64v2.9.0✕

Morphir.SDK.Key​

FunctionMorphir-Elm Version IntroducedSupported
noKeyv0.7.0✕
key0v0.7.0✕
key2v0.7.0✕
key3v0.7.0✕
key4v0.7.0✕
key5v0.7.0✕
key6v0.7.0✕
key7v0.7.0✕
key8v0.7.0✕
key9v0.7.0✕
key10v0.7.0✕
key11v0.7.0✕
key12v0.7.0✕
key13v0.7.0✕
key14v0.7.0✕
key15v0.7.0✕
key16v0.7.0✕

Morphir.SDK.List​

FunctionMorphir-Elm Version IntroducedSupported
singletonv2.0.0✓
repeatv2.0.0✓
rangev2.0.0✓
consv2.0.0✕
mapv2.0.0✓
indexedMapv2.0.0✓
foldlv2.0.0✓
foldrv2.0.0✓
filterv2.0.0✓
filterMapv2.0.0✓
lengthv2.0.0✓
reversev2.0.0✓
memberv2.0.0✓
allv2.0.0✓
anyv2.0.0✓
maximumv2.0.0✓
minimumv2.0.0✓
sumv2.0.0✕
productv2.0.0✕
appendv2.0.0✓
concatv2.0.0✓
concatMapv2.0.0✓
interspersev2.0.0✕
map2v2.0.0✕
map3v2.0.0✕
map4v2.0.0✕
map5v2.0.0✕
sortv2.0.0✓
sortByv2.0.0✓
sortWithv2.0.0✓
isEmptyv2.0.0✓
headv2.0.0✓
tailv2.0.0✓
takev2.0.0✓
dropv2.0.0✓
partitionv2.0.0✓
unzipv2.0.0✕
innerJoinv2.0.0✕
leftJoinv2.0.0✕

Morphir.SDK.LocalDate​

Types​

FunctionMorphir-Elm Version IntroducedSupported
LocalDatev1.5.0✓
DayOfWeekv2.84.2✓
Monthv2.84.2✓

Functions​

FunctionMorphir-Elm Version IntroducedSupported
diffInDaysv1.5.0✓
diffInWeeksv1.5.0✕
diffInMonthsv1.5.0✕
diffInYearsv1.5.0✕
addDaysv1.5.0✕
addWeeksv1.5.0✓
addMonthsv1.5.0✕
addYearsv1.5.0✕
fromCalendarDatev2.87.0✓
fromISOv2.4.0✓
fromOrdinalDatev2.87.0✓
fromPartsv2.4.0✓
toISOStringv2.66.0✕
monthToIntv2.87.0✕
dayOfWeekv2.84.2✓
isWeekendv2.84.2✕
isWeekdayv2.84.2✕
yearv2.84.2✓
monthv2.84.2✓
monthNumberv2.87.0✓
dayv2.84.2✓

Morphir.SDK.LocalTime​

Types​

FunctionMorphir-Elm Version IntroducedSupported
LocalTimev2.44.0✓

Functions​

FunctionMorphir-Elm Version IntroducedSupported
fromMillisecondsv2.44.0✓
addHoursv2.44.0✓
addMinutesv2.44.0✓
addSecondsv2.44.0✓
diffInHoursv2.44.0✕
diffInMinutesv2.44.0✕
diffInSecondsv2.44.0✓
fromISOv2.44.0✓

Morphir.SDK.Maybe​

FunctionMorphir-Elm Version IntroducedSupported
withDefaultv2.84.2✓
mapv2.84.2✓
map2v2.84.2✕
map3v2.84.2✕
map4v2.84.2✕
map4v2.84.2✕
andThenv2.84.2✓
hasValuev2.84.2✕

Morphir.SDK.Number​

FunctionMorphir-Elm Version IntroducedSupported
fromIntv2.10.0✕
equalv2.10.0✕
notEqualv2.10.0✕
lessThanv2.11.0✕
lessThanOrEqualv2.11.0✕
greaterThanv2.11.0✕
greaterThanOrEqualv2.11.0✕
addv2.10.0✕
subtractv2.11.0✕
multiplyv2.11.0✕
dividev2.10.0✕
absv2.11.0✕
negatev2.11.0✕
reciprocalv2.11.0✕
toFractionalStringv2.11.0✕
toDecimalv2.11.0✕
coerceToDecimalv2.12.0✕
simplifyv2.11.0✕
isSimplifiedv2.11.0✕
zerov2.10.0✕
onev2.11.0✕

Regex​

FunctionMorphir-Elm Version IntroducedSupported
fromStringv2.81.0✕
fromStringWithv2.81.0✕
neverv2.81.0✕
containsv2.81.0✕
splitv2.81.0✕
findv2.81.0✕
replacev2.81.0✕
splitAtMostv2.81.0✕
findAtMostv2.81.0 -✕
replaceAtMostv2.81.0✕

Result​

FunctionMorphir-Elm Version IntroducedSupported
andThenv2.0.0✓
mapv2.0.0✓
map2v2.0.0✕
map3v2.0.0✕
map4v2.0.0✕
map5v2.0.0✕
withDefaultv2.0.0✓
toMaybev2.0.0✓
fromMaybev2.0.0✓
mapErrorv2.0.0✓

Morphir.SDK.ResultList​

FunctionMorphir-Elm Version IntroducedSupported
fromListv2.41.0✕
filterv2.41.0✕
filterOrFailv2.41.0✕
mapv2.41.0✕
mapOrFailv2.41.0✕
errorsv2.41.0✕
successesv2.41.0✕
partitionv2.41.0✕
keepAllErrorsv2.41.1✕
keepFirstErrorv2.41.1✕

Morphir.SDK.Rule​

FunctionMorphir-Elm Version IntroducedSupported
fromListv0.7.0✕
chainv0.7.0✕
anyv0.7.0✕
isv0.7.0✕
anyOfv0.7.0✕
noneOfv0.7.0✕

Set​

FunctionMorphir-Elm Version IntroducedSupported
emptyv2.2.0✓
singletonv2.2.0✓
insertv2.2.0✓
removev2.2.0✓
isEmptyv2.2.0✓
memberv2.2.0✓
sizev2.2.0✓
toListv2.2.0✓
fromListv2.2.0✓
mapv2.2.0✓
foldlv2.2.0✓
foldrv2.2.0✓
filterv2.2.0✓
partitionv2.2.0✓
unionv2.2.0✓
intersectv2.2.0✓
diffv2.2.0✕

Morphir.SDK.StatefulApp​

TypeMorphir-Elm Version IntroducedSupported
StatefulAppv1.1.0✕

Morphir.SDK.String​

FunctionMorphir-Elm Version IntroducedSupported
ofLengthv1.4.0✓
ofMaxLengthv1.4.0✓
equalIgnoreCasev1.4.0✓
isEmptyv2.0.0✓
lengthv2.0.0✓
reversev2.0.0✓
repeatv2.0.0✓
replacev2.0.0✓
appendv2.0.0✓
concatv2.0.0✓
splitv2.0.0✓
joinv2.0.0✓
wordsv2.0.0✓
linesv2.0.0✓
slicev2.0.0✓
leftv2.0.0✓
rightv2.0.0✓
dropLeftv2.0.0✓
dropRightv2.0.0✓
containsv2.0.0✓
startsWithv2.0.0✓
endsWithv2.0.0✓
indexesv2.0.0✓
indicesv2.0.0✓
toIntv2.0.0✓
fromIntv2.0.0✓
toFloatv2.0.0✓
fromFloatv2.0.0✓
fromCharv2.0.0✕
consv2.0.0✕
unconsv2.0.0✕
toListv2.0.0✕
fromListv2.0.0✕
toUpperv2.0.0✓
toLowerv2.0.0✓
padv2.0.0✕
padLeftv2.0.0✓
padRightv2.0.0✓
trimv2.0.0✓
trimLeftv2.0.0✓
trimRightv2.0.0✓
mapv2.0.0✕
filterv2.0.0✕
foldlv2.0.0✕
foldrv2.0.0✕
anyv2.0.0✕
allv2.0.0✕

Morphir.SDK.Validate​

FunctionMorphir-Elm Version IntroducedSupported
requiredv2.41.1✕
parsev2.41.1✕