conal / lambda-ccc

Convert lambda expressions to CCC combinators
Other
146 stars 18 forks source link

First successful implementation of FFT as a class. #19

Closed capn-freako closed 9 years ago

capn-freako commented 9 years ago

Woohoo! Success:

Davids-MacBook-Air-2:test dbanas$ stack ghc -- --make -O2 -Wall fft_test.hs
[1 of 1] Compiling Main             ( fft_test.hs, fft_test.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.5.0.0 ... linking ... done.
Loading package deepseq-1.3.0.2 ... linking ... done.
Loading package containers-0.5.5.1 ... linking ... done.
Loading package pretty-1.1.1.1 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package old-locale-1.0.0.6 ... linking ... done.
Loading package time-1.4.2 ... linking ... done.
Loading package random-1.1 ... linking ... done.
Loading package primitive-0.6 ... linking ... done.
Loading package tf-random-0.5 ... linking ... done.
Loading package QuickCheck-2.7.6 ... linking ... done.
Linking fft_test ...

Davids-MacBook-Air-2:test dbanas$ ./fft_test 
=== prop_fft_test_N2 from fft_test.hs:128 ===
+++ OK, passed 100 tests.

=== prop_fft_test_N3 from fft_test.hs:132 ===
+++ OK, passed 100 tests.

=== prop_fft_test_N4 from fft_test.hs:136 ===
+++ OK, passed 100 tests.

=== prop_fft_test_N5 from fft_test.hs:140 ===
+++ OK, passed 100 tests.

Thanks, Conal! -db