This is a nice explanation of the State Monad https://wiki.haskell.org/State_Monad #Haskell I've basically cut and paste the example more than once before to solve problems.
Notices by Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social), page 10
-
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Tuesday, 16-Apr-2019 10:08:39 EDT Kat MCP(NT4) MCSE(Win2K)
-
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Tuesday, 16-Apr-2019 10:00:12 EDT Kat MCP(NT4) MCSE(Win2K)
I've just done (part of) Advent of Code 2018 q9 in #Haskell. My first attempt, I thought was elegant and readable, but consumed all RAM in the universe. My second attempt, was more nuanced, throwing away all the things the solution did not really need, and this at least completed, however it takes 11 min to run.
The second part of the question expands the problem size by a factor of 100.
Need to think about this again!
-
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Tuesday, 16-Apr-2019 06:22:56 EDT Kat MCP(NT4) MCSE(Win2K)
This is a good poster on climate change #XR
-
neil 🍄 (neil@social.coop)'s status on Monday, 15-Apr-2019 17:27:24 EDT neil 🍄
Lot of people still on Waterloo Bridge. And a lovely choir.
At Marble Arch they said people are being arrested here now. But doesn't seem so at the moment.
Quite a few police and vans here though.
-
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Tuesday, 16-Apr-2019 03:59:06 EDT Kat MCP(NT4) MCSE(Win2K)
-
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Monday, 15-Apr-2019 14:51:04 EDT Kat MCP(NT4) MCSE(Win2K)
-
Flo (â§–) (flo@sunbeam.city)'s status on Monday, 15-Apr-2019 08:23:16 EDT Flo (â§–)
A stage on the road #xr #extinctinrebellion
-
Flo (â§–) (flo@sunbeam.city)'s status on Monday, 15-Apr-2019 10:10:55 EDT Flo (â§–)
Oxford street has a boat. A BOAT #xr #extinctionrebelion
-
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Monday, 15-Apr-2019 11:14:38 EDT Kat MCP(NT4) MCSE(Win2K)
https://rebellion.earth/2019/04/15/extinction-rebellion-turns-up-the-heat-on-shell/ Shell gets to feel the heat #XR #London
-
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Monday, 15-Apr-2019 10:10:03 EDT Kat MCP(NT4) MCSE(Win2K)
In conversation from mastodon.social permalink -
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Monday, 15-Apr-2019 08:39:39 EDT Kat MCP(NT4) MCSE(Win2K)
@M_PF give it time
In conversation from mastodon.social permalink -
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Monday, 15-Apr-2019 08:16:41 EDT Kat MCP(NT4) MCSE(Win2K)
In conversation from mastodon.social permalink Attachments
-
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Monday, 15-Apr-2019 08:09:40 EDT Kat MCP(NT4) MCSE(Win2K)
Things don't always get better.
In conversation from mastodon.social permalink -
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Monday, 15-Apr-2019 04:08:17 EDT Kat MCP(NT4) MCSE(Win2K)
managed to be late to work today. Also.. didn't really have such a good weekend. It was a long weekend, because I had a few days off work, but I didn't do anything much. So feels like a bit of a waste now.
In conversation from mastodon.social permalink -
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Saturday, 13-Apr-2019 16:55:06 EDT Kat MCP(NT4) MCSE(Win2K)
More power to them #extinctionrebellion
In conversation from mastodon.social permalink -
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Saturday, 13-Apr-2019 16:52:31 EDT Kat MCP(NT4) MCSE(Win2K)
Big events in London this weekend.. https://rebellion.earth/event/uk-rebellion-shut-down-london/
XR plan to shut down the city for the remainder of April
In conversation from mastodon.social permalink Attachments
-
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Saturday, 13-Apr-2019 16:37:32 EDT Kat MCP(NT4) MCSE(Win2K)
My usually staid but quiet and accepting bar has been replaced with a bar full of people with dreadlocks and psychedelic clothes moshing
In conversation from mastodon.social permalink -
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Saturday, 13-Apr-2019 16:36:34 EDT Kat MCP(NT4) MCSE(Win2K)
My usually staid but quiet and accepting has been replaced with a bar full of people with dreadlocks and psychedelic clothes moshing
In conversation from mastodon.social permalink -
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Saturday, 13-Apr-2019 09:14:06 EDT Kat MCP(NT4) MCSE(Win2K)
would like to see, Sep VanMarcke win, but he had no form at #RVV last week. Luke Rowe would be great to see too, but again ... didn't show at #RVV... so... How about an outside chance on Alexander Kristoff from a 10 man sprint in the velodrome?
In conversation from mastodon.social permalink -
Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Saturday, 13-Apr-2019 09:13:20 EDT Kat MCP(NT4) MCSE(Win2K)
Paris - Roubaix .. The hell of the north is tomorrow. And the field sees wide open! No idea who can take it. None of the current top riders seems to have huge form over the others.
In conversation from mastodon.social permalink