Sign in
Code Monkey Have Fun
Tags
Ape
Books
C#
Calculators
Colemak
Composition
Concatenative Languages
Continuations
CPS
Curiosities
DCPU-16
Demo Code
F#
Fignition
Forth
FRP
FScheme
HP-35
HPCalcs
Interpreters
Kata
Kids Programming
Lambda
Lazy
LegoNXT
Logic Programming
Logo
Magimathics
Memoization
Microsoft Life
Monads
NDP
Pages
Project Euler
Ramble
Recursion
Robotics
RPN
Scheme
Streams
TCO
TransForth
Turing Machine
Turtle Graphics
VMs
XSLT
Browse by Tags
MSDN Blogs
>
Code Monkey Have Fun
>
All Tags
>
magimathics
Tagged Content List
Blog Post:
Ants
Ashley Nathan Feniello
Gram's blog has been pretty fun to follow. Like with Project Euler , I constantly want to implement each thing he talks about (e.g. Monadic Coconuts , Towers of Hanoi ). Here now is " The Wondering Ant ": open System.Drawing open System.Windows.Forms let rec ant (x, y) (dx, dy) g...
on
5 Jan 2010
Blog Post:
Monadic Piles of Coconuts
Ashley Nathan Feniello
After reading the “coconut” problem over on my friend’s blog , I thought it would be fun to solve it with a silly brute force approach. First, go read his post and then come back here. let take n = let m = n - 1 // give one to the monkey if m % 5 = 0 // can divide remainder...
on
14 Dec 2009
Blog Post:
Towers of Hanoi
Ashley Nathan Feniello
A friend of mine is starting a pretty fun looking math blog . His first post is on Towers of Hanoi . I'm sure he'll tackle it with some slick mathematics, but my usual M.O. is to convert everything to code. I remember this "Hello Recursive World" from SICP in Scheme; looks better in F#: let rec hanoi...
on
12 Dec 2009
Page 1 of 1 (3 items)