Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  Problem with Graphics.SOE (Vitaly Dolgov)


----------------------------------------------------------------------

Message: 1
Date: Mon, 29 Mar 2021 13:18:49 +0300
From: Vitaly Dolgov <vitaly.dol...@posteo.net>
To: beginners@haskell.org
Subject: [Haskell-beginners] Problem with Graphics.SOE
Message-ID: <20210329131849.75725a7b@yoga>
Content-Type: text/plain; charset=US-ASCII

Hi, everybody!

I'm trying to do an example from the book "The Haskell
School of Expression", which originally uses `SOEGraphics`, I use
`Graphics.SOE` instead, but I get the following error on each run:

`user error (loadQueryFont)`

I have no idea how to approach the problem... `:trace` outputs an empty
exception :( Could you please help me to solve this?

My environment is: Linux, ghc 8.10.4, HGL 3.2.3.2
The code is quite basic:

```
import Graphics.SOE

main
   = runGraphics $
     do w <- openWindow "Hello World!" (300, 300)
        drawInWindow w (text (100, 200) "Hello World!")
        k <- getKey w
        closeWindow w
```

Thank you,
Vitaly


------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 152, Issue 11
******************************************

Reply via email to