SLIDE 1
Ruby, Go and Haskell
Matt Walston University of North Florida
Ruby, Go and Haskell Matt Walston University of North Florida Ruby - - PowerPoint PPT Presentation
Ruby, Go and Haskell Matt Walston University of North Florida Ruby Everythings an object Dynamic reflection and meta programming Duck typing Blocks and Iterators Fibers Everything an Object All inherit from BasicObject
Matt Walston University of North Florida
# => Integer, Numeric, Comparable, Object, Kernel, BasicObject
Complex programs are difficult
Similar to duck typing
qs :: Ord a => [a] -> [a] qs [] = [] qs (p:xs) = (qs l) ++ [p] ++ (qs g) where l = filter (< p) xs g = filter (>= p) xs