Skip to content

Instantly share code, notes, and snippets.

@isomorphism
Created August 7, 2014 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isomorphism/5554903bec3f1fbb0ec0 to your computer and use it in GitHub Desktop.
Save isomorphism/5554903bec3f1fbb0ec0 to your computer and use it in GitHub Desktop.
GHCJS storable vector bug?
module Main where
import Data.Vector.Storable as V
main = do
print $ V.fromList [1..9 :: Float]
-- output:
-- "fromList [5.831554e-39,5.831554e-39,1.0,1.0,1.0,1.0,1.0,1.0,1.0]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment