Files
RosettaHaskellCompiler/resources/Rosetta/test-period.rosetta
Macocian Adrian Radu 26daa85feb kind of working,
still needs testing.
Added output return coercion in expression
Fixed formatting bugs
2022-05-17 02:26:18 +02:00

21 lines
349 B
Plaintext

namespace test.period : <"Something">
version "${version.ok}"
type ExchangeRate:
from int (1..1)
to int (1..1)
type Obs:
constant number (0..1)
exchangeRate ExchangeRate (0..1)
condition: one-of
func Konst:
inputs:
constant number (1..1)
output:
observable Obs (1..1)
assign-output observable -> constant:
constant