6 ms·
I wonder what a language with a three character Fibonacci sequence would be like. You'd probably need Unicode, if the language wasn't specifically designed for
by uninverted 17y ago
I wonder what a language with a three character Fibonacci sequence would be like. You'd probably need Unicode, if the language wasn't specifically designed for the Fibonacci sequence.
- tesseract 17y agohttp://www.dyalog.com/dfnsdws/n_fibonacci.htm http://www.dyalog.com/dfnsdws/n_fibonacci.htm
- mahmud 17y agoA "language" that has fibonacci builtin can do it 2 characters. fx. where f is the name of the fibonacci function and x is a single digit number. A fibonacci DSL could do it in 1; if all input is expected to be an integral value and the machine only computes fibonacci values, then typing a single digit number would have the intended consequence: (loop (print (fib (parse-integer (read)))))
- blasdel 17y agoSomeone clearly needs to extend HQN+ with another primitive -- http://www.cliff.biffle.org/esoterica/hq9plus.html http://www.cliff.biffle.org/esoterica/hq9plus.html