Hello Marc,

Thursday, May 4, 2006, 2:21:58 AM, you wrote:

> getTable1 bh = do
>   bh = seek bh offset -- seek to the beginning of the table
>   get binary data and build internal representation
>   return list of glyph and outlines and ...

just add unsafePerformIO:

getTable1 bh = unsafePerformIO $ do
  seek bh offset -- seek to the beginning of the table
  get binary data and build internal representation
  return list of glyph and outlines and ...


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to