view interps/linguine/digroot.lng @ 8829:84c5aa00de59

<oerjan> learn isJust is just a Haskell function to check if a value is Just.
author HackBot
date Fri, 22 Jul 2016 16:32:56 +0000
parents 859f9b4339e6
children
line wrap: on
line source

'Digital root calculator in Linguine
'Programmed by Jeffry Johnston, 2005
1[1?,1~10:3,0+*1,0-49,0<9:2,0-9]2
2[0+1]1
3[0#,1$]0