When I run one of the evaluation examples, the output shown is different to that of the example.
The example is thus:-
> roll(|1=("chicken", roll(|1=("hot dog", roll(|1=("pizza", roll(|0=()|))|))|))|) :: ^x.(()+([char]*x))
"chicken":"hot dog":"pizza":[]
> cons("chicken", cons("hot dog", cons("pizza", nil())))
"chicken":"hot dog":"pizza":[]
The actual output is :-
> roll(|1=("chicken", roll(|1=("hot dog", roll(|1=("pizza", roll(|0=()|))|))|))|) :: ^x.(()+([char]*x))
"nekcihcgod tohazzip"
> cons("chicken", cons("hot dog", cons("pizza", nil())))
"nekcihcgod tohazzip"
When I run one of the evaluation examples, the output shown is different to that of the example.
The example is thus:-
The actual output is :-