Notebook test

This IHaskell noteook should just test, whether IHaskell and JuicyPixels are properly installed and working.

Just click in the box below and click on the "Run" command in the above menu.


In [ ]:
{-# LANGUAGE TypeSynonymInstances, FlexibleInstances  #-}

import IHaskell.Display.Juicypixels
import Codec.Picture
   
myImage = generateImage pixelRenderer 250 300
    where pixelRenderer x y = PixelRGB8 (fromIntegral x) (fromIntegral y) 128
    
myImage