Haskell: grid in wxHaskell

Posted by snorlaks on Stack Overflow See other posts from Stack Overflow or by snorlaks
Published on 2010-05-11T22:47:05Z Indexed on 2010/05/11 23:04 UTC
Read the original article Hit count: 258

Filed under:
|

Hello, Could someone explain me what this code does line by line ?

how t ounderstand excactly first line with declaration ? what does it mean: [Prop (Grid ())]?

thanks for help

gridCtrl :: Window a -> [Prop (Grid ())] -> IO (Grid ())
gridCtrl parent props
  = feed2 props 0 $
    initialWindow $ \id rect -> \props flags ->
    do g <- gridCreate parent id rect flags
       gridCreateGrid g 0 0 0
       set g props
       return g

© Stack Overflow or respective owner

Related posts about grid

Related posts about wxhaskell