mirror of
https://github.com/macocianradu/RosettaHaskellCompiler.git
synced 2026-03-18 13:00:08 +00:00
21 lines
349 B
Plaintext
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 |