Open henrylaxen opened 5 years ago
λ> test3 FiSrescto ntdh rteharde arde creeicveeidv:e d1: o1n o#n: #1: 6 FiSrescto ntdh rteharde arde creeicveeidv:e d2: o2n o#n: #2: 7 FirsSte ctohnrde atdh rreeacde irveecde:i v3e do:n 3# :o n3
I think you're missing some MVars.
That's odd. I copied the output directly from ghci.
I think I know what happened. I ran it with -O2. No worries.
I tried running your code (test3) from https://www.parsonsmatt.org/2018/10/12/tchan_vs_tqueue.html and the output was:
λ> test3 FiSrescto ntdh rteharde arde creeicveeidv:e d1: o1n o#n: #1: 6 FiSrescto ntdh rteharde arde creeicveeidv:e d2: o2n o#n: #2: 7 FirsSte ctohnrde atdh rreeacde irveecde:i v3e do:n 3# :o n3
: 8
FiSrescto ntdh rteharde arde creeicveeidv:e d4: o4n o#n: #4: 9 FirSsetc otnhdr etahdr eraedc erievceedi:v e5d :o n5 #o:n 5# : 10
I think you're missing some MVars.