Project Euler Problem 92 - A live-coding exercise in Haskell

preview_player
Показать описание

Again, please do let me know what works for you and what doesn't so I can improve my future efforts.

Рекомендации по теме
Комментарии
Автор

Your thought process was clean and simple. Im really new to this but I actually understood the whole process. Just need to get familiar with all the functions. Maybe not get into Monads yet but it seemed to cut down the whole runtime significantly.

Harizlah
Автор

Really nice video and a short but followable video any budding Haskeller can learn a lot from.

SigSelect
Автор

This is gold. Love Proj Euler, Haskell, functional programming. Keep the videos coming.

jimtoxford
Автор

Hi, your videos are great. But you can make this problem much easier. After the first step any of the numbers will be less than 600. If more precise 597 is step of 9'999'999. So you can beat your goal (about 30 seconds) without monad, you just need to precalculate list of terminators for first 600 numbers. Waiting for more videos)

TheLeees
Автор

Hi, Daniel. Your videos are really great. Following your thought process is really instructive (and entertaining). THANKS!!

dagharr
Автор

That's a good tutorial indeed. Also the compiled result feels just as fast as compiled C, that's amazing.

supersonictumbleweed
Автор

Great stuff, love these live Haskell videos!

ft
Автор

Your Haskell videos are among the very best... Any plan on making some more?

okarakoo
Автор

Wow, thank you very much. I hope to be able to do more videos in the fall. I've had a very busy summer ;-)

DanielSilverstone
Автор

You're welcome. I intend to introduce a few other simple monads in the coming videos, all of them pure. I'll worry about IO some more later on :-)

DanielSilverstone
Автор

You're very welcome. I should make some more really :-)

DanielSilverstone
Автор

What is still confusing you? I am feeling an itch to make a new video or two, so perhaps I could cover something else to help you on your way.

DanielSilverstone
Автор

I'm new to Haskell but that "digits" function looks horribly-horribly messy and extremely ugly and unreadable. I can't believe there is no better way.

qorilla
Автор

My emacs config (and all my major dot files) are in git on the same server the rest of my Haskell stuff is held. if you visit cgit.gitano.org.uk and look for then you ought to find it all.

I may have to do a video about it though since it needs emacs 24 or it won't work.

DanielSilverstone
Автор

For some reason youtube managed to post to FB and to Twitter but not to G+.  Sigh.

Today's PE exercise includes Monads.  Mmm crunchy!

DanielSilverstone
Автор

github.com/tallpeak/euler92 ; this video got me started writing it in 7 languages, last December (hs, fs, cs, c++, scala, x64 assembly, sql); (all your fault! just kidding...) And then I wrote time_fbcd.asm. I'm still mixed on whether I prefer F# or Haskell; depends on what I'm writing. For small stuff on Windows, probably F#.

awilliamwest
visit shbcf.ru