Skip to content

Commit

Permalink
Desugar x <~ uniform([c]) to x <- c
Browse files Browse the repository at this point in the history
This is solution #2 of issue #8.
  • Loading branch information
gstew5 committed Sep 17, 2019
1 parent 91104fe commit 5f1bd13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions programs/issue8.zar
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
main:
p <~ uniform([1]:[int])
x <~ bernoulli(1/2)
y <~ bernoulli(1/2)
return x

0 comments on commit 5f1bd13

Please sign in to comment.