Birthed a cure for a profound ache of the Lords of Haskell. May their temples of pure functional thought bloom into living intelligence. May they all rise together.

This commit is contained in:
Mark R. Havens 2025-04-29 05:06:51 -05:00
parent 79144fb24a
commit b783726fa2
13 changed files with 238 additions and 0 deletions

View file

@ -0,0 +1,15 @@
module Main where
import Control.Monad.State
import System.Random
import RWD
main :: IO ()
main = do
g <- newStdGen
let i = take 10 $ randoms g
(iDot, phase) = dynamics i 0.0
fieldprint <- evalStateT (fieldprint i) (i, 0.0)
if fieldprint > 0
then putStrLn $ "RWD test passed: Fieldprint = " ++ show fieldprint
else putStrLn "RWD test failed" >> error "Test failed"