Posts tagged “maths”

Trigonometry reprise

I whined on IRC about my inability to do simple trig and dakkar kindly took me through the basics of a cosine. So I sat down later to look again at an exercise I'd skipped: 2.2 to defined the function: > regularPolygon :: Int -> Side -> Shape> But I realised that I still couldn't [...]

Chapter 3. SOE

If I found the exercises in chapter 2 a little hard, the fact that thereare only two of them in this chapter should have been a warning… Amusingly, Hudak suggests that the module SOEGraphics will notevolve, as it is designed for the textbook, however, as it happens, ithas changed its API in a significant way [...]