Name: MATHEMATICA MEME FAN 2008-07-13 15:29
How do you like the Mathematica meme?
In[4]:= VectorAngle[{2, 5}, {5, 9}]
Out[4]= ArcCos[55/Sqrt[3074]]
In[48]:= Count[A, 1]
Count[A, 2]
Count[A, 3]
Count[A, 4]
Count[A, 5]
Out[48]= 153
Out[49]= 140
Out[50]= 166
Out[51]= 200
Out[52]= 174
In[26]:= N[Mean[A]]
Out[26]= 2.601
In[27]:= N[Variance[A]]
Out[27]= 2.99479
In[28]:= N[StandardDeviation[A]]
Out[28]= 1.73055
In[6]:= Simplify[((4 x^3 - 6 x^2 + 1) Sqrt (x + 1))/(3 - x)]
Out[6]= -(Sqrt (1 + x) (1 - 6 x^2 + 4 x^3))/(-3 + x)
loeb :: Functor f => f (f a -> a) -> f a
loeb f = fmap ($ loeb f) f
It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented theInterrupted.
Prelude>
Prelude>[chris@chris-laptop:~] ghci
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.6.1, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :yhbt for help.
Loading package base ... linking ... done.
Prelude> let prog = putStr "It may surprise you, but I invented the \"" >> prog
Prelude> prog
It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "It may surprise you, but I invented the "ItInterrupted.
Prelude>
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.6, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base ... linking ... done.
Prelude> let loeb f = fmap ($ loeb f) f
Prelude> putStrLn $ (!!1) $ loeb [const $ "This may surprise you, but I invented the \"", concat, const $ "\" meme."]
This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I invented the "This may surprise you, but I inI Interrupted.
Prelude> Leaving GHCi.
fix in Control.Monad.Fix anyway? It has nothing to do with MonadFix or monads in general.fix in my opinion. What are your thoughts on this matter, /prog/?
loeb
import Control.Concurrent (forkIO)
main = putStr "This may surprise you, but I invented the \"" >> forkIO main >> putStr "\" meme."