This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Option Explicit On | |
| Dim sheet As Worksheet | |
| Dim count As Long | |
| Sub Main() | |
| Dim cell As String | |
| Dim x, y As Long | |
| Dim a, b, c As Long | |
| Dim align As Integer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let source : "+++++++++[>++++++++>+++++++++++>+++++<<<-]>.>++.+++++++..+++.>-.------------.<++++++++.--------.+++.------.--------.>+.\0" | |
| let item : | |
| lambda n -> | |
| lambda list -> | |
| if ( = n 0 ) | |
| then head list | |
| else item ( - n 1 ) ( tail list ) | |
| let state : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module std { | |
| def fib = 1 -> Int | |
| => 1 | |
| def fib = 2 -> Int | |
| => 1 | |
| def fib = n:Int -> Int | |
| => fib(n-2) + fib(n-1) | |
| } | |
| module program { |
NewerOlder