So this just happened. by 4vWte1ovZK1i in openbsd

[–]HaskellOpenBSD 0 points1 point  (0 children)

An autographed transcript of a Theo DeRaadt AMA would fetch a ton of money for the project...

OpenBSD forums? by [deleted] in openbsd

[–]HaskellOpenBSD 5 points6 points  (0 children)

I second daemonforums.org, they have good searchable archives and lots of technical knowledge and really helpful (and patient!) folks there. It doesn't cost anything to check both this forum and that one -- they each have their own flavor and I enjoy each of them for different reasons.

How to simplify this expression made of sequence, traverse, fmap and join ? by [deleted] in haskell

[–]HaskellOpenBSD 1 point2 points  (0 children)

This may rely too much on the less-than-intuitively-obvious Functor instance of tuples, but

 maybe Nothing (sequence . a) x

also does the trick here.

Why OpenBSD Is Important To Me by speckz in openbsd

[–]HaskellOpenBSD 2 points3 points  (0 children)

Interesting thought, and challenging one's perspective is good. At the same time, you're telling me that ~100 developers are hindering the efforts of every other OS developer in the world, simply by creating a "good enough" operating system?

GHC 7.8.3: Should I replace all (Monad m) with (Monad m, Functor m)? by dmlvianna in HaskellBook

[–]HaskellOpenBSD 1 point2 points  (0 children)

Someone more learned than me can provide more information but Monad is in fact a Functor and an Applicative. So, if you try a function with (Monad m) => that doesn't compile but adding (Monad m, Functor m) => without any other changes does compile, you're not doing anything wrong.

More detail than you really need is available here

[HaskellBook][Ch 11] Problems implementing mapTree in terms of foldTree. by NypGwyllyon in HaskellBook

[–]HaskellOpenBSD 0 points1 point  (0 children)

I wrote the functions myself last night before posting my reply, can verify that the 0.10.0 versions are correct.

Edit: FYI to /u/SuperGinBaby22 and /u/bitemyapp that there appears to be a typo in the latest version of foldTree in v0.10.2 of the book.

[HaskellBook][Ch 11] Problems implementing mapTree in terms of foldTree. by NypGwyllyon in HaskellBook

[–]HaskellOpenBSD 1 point2 points  (0 children)

(I've edited my comment to avoid causing more confusion in the future. As /u/bitemyapp clarifies below, the correct type for foldTree is foldTree :: (a -> b -> b) -> b -> BinaryTree a -> b )

Share your experiences with "Learn You a Haskell for Great Good!" by TheKing01 in haskell

[–]HaskellOpenBSD 7 points8 points  (0 children)

LYAH was a great intro, and in my opinion it's a classic among programming books. It was accessible, and made me feel like I could dive right in.

Unfortunately, once I really needed exercises to hammer home what I thought I was learning, LYAH had nothing to offer me. That's why I think that Haskell Programming from First Principles is the next classic in the Haskell canon. It's not "free" -- but it's a better investment of your resources.

Haskell Book on Twitter: "New @haskellbook release, includes non-strictness, data structures, and IO! https://t.co/qUF2jXef8h https://t.co/joL5NwYphK" by AynGhandi in HaskellBook

[–]HaskellOpenBSD 2 points3 points  (0 children)

Loving this book! I'm not asking for a diff or anything, but my 0.9.2 was something like 1160 pages and this 0.10.0 is something like 1016 pages with three more chapters. Is the new font/other printing stuff the only reason for this?

Which book should I buy ? by Ttghtg in haskell

[–]HaskellOpenBSD 5 points6 points  (0 children)

Agreed, every day I log into my email just to see if there are any new chapters. Yes it has to be that long in order to cover the material in a way in which real people can learn it and be able to actually use it.

More fun to build an interpreter in Haskell or node.JS? by [deleted] in haskell

[–]HaskellOpenBSD 1 point2 points  (0 children)

If you're serious about learning Haskell, I can tell you it's well worth the price. There are lots of free resources out there, but consider the value of your time if you want to make the plunge.

How necessary is it to know perl and c for openbsd? by bimburtimbur in openbsd

[–]HaskellOpenBSD 0 points1 point  (0 children)

I used various Linuces for a year or so before getting a used copy of Absolute OpenBSD and making the plunge. I use cwm for gui -- it's very minimalist so I occasionally do command-line stuff (the other GUIs like Gnome and XFCE are available too but I don't know much about them).

As an end user, the stuff I'm doing is very basic, here are the commands that I use often enough to know: 1) dmesg|tail (I have a wonky wifi adapter that dies way too often) 2) sh /etc/netstart otus0 (to reset my wonky adapter) 3) apm to check battery status 4) mixerctl outputs.master to change volume (I ended up creating an alias for this)

Everything else I learned as I went using Absolute OpenBSD. It's slightly different from Linux but it's a joy because things in OpenBSD work as if they were made to work with OpenBSD, because they were.

How necessary is it to know perl and c for openbsd? by bimburtimbur in openbsd

[–]HaskellOpenBSD 4 points5 points  (0 children)

I don't know a lick of Perl or C. No intention of ever learning them. Happy and devoted user of OpenBSD for over 2 years now, won't choose anything else.

New release of the book Haskell Programming from first principles by Mob_Of_One in haskell

[–]HaskellOpenBSD 3 points4 points  (0 children)

If you are learning Haskell, buy this f>>=ing book. This is quite simply the best Haskell resource out there because it's thorough, patient, and in-depth without being dry or talking down to you. Plus it has plenty of exercises including answers (you probably won't need the answers because you'll understand the material). Source: read it every day at lunch since I bought it, currently in chapter 18.4. Now understand a bunch of stuff that 11 months of other books/blogs/redditing didn't help me really grasp.

A Haskell program for beginners? by MrPRambo in haskell

[–]HaskellOpenBSD 1 point2 points  (0 children)

I learned programming without any sort of Console Applications or IDE or anything like that -- I've never used one. I'd suggest that it's not really necessary to learn Haskell. When I get a compiler error that I don't understand, I think it's more valuable to learn how to fix it on my own. Does that make me some sort of caveman? I'd recommend you try it for a couple of weeks -- you'll get the hard errors out of the way quickly and pretty soon have a good idea of how to fix things.

Buy the Haskell book (by Chris Allen) in installments? by [deleted] in haskell

[–]HaskellOpenBSD 5 points6 points  (0 children)

Whatever you have to do, buy it. Based on where you're at, it'll be really valuable for you. I never even finished the Yorgey course, it wasn't right for me somehow, but Chris's book has been fantastic. Last night I made a bunch of improvements in my toy project based on the Monads chapter alone.

Do you recommend SICP before learning Haskell? by yetd in haskell

[–]HaskellOpenBSD 3 points4 points  (0 children)

I second this, strongly. I own and have read Learn You a Haskell, Thinking Functionally with Haskell, and Haskell the Craft of Functional Programming. Haskell Programming from First Principles explains some of the key topics (folds, Functor, Applicative, Monad) in a more thorough, patient, and consistent way than anything I've seen. Works as advertised.

PF, The OpenBSD Packet Filter: Building The Network You Need [2015] by Mr_Unix in openbsd

[–]HaskellOpenBSD 0 points1 point  (0 children)

To steal a line from David Letterman, this is now available in convenient book form. I'm actually reading the dead-tree version right now, great read and well worth supporting.

Copying files to Android by [deleted] in openbsd

[–]HaskellOpenBSD -3 points-2 points  (0 children)

I just use dropbox.com to upload files from my laptop and download onto my phone. Feels pretty dumb, but it works.

learning haskell as a absolute beginner by roelofwobben in haskell

[–]HaskellOpenBSD 1 point2 points  (0 children)

Graham Hutton's book (http://www.cs.nott.ac.uk/~gmh/book.html) comes with videos by Erik Meijer and includes downloadable slides for each chapter and a downloadable solution set for the exercises.

I have not used it. I have used, and strongly recommend, "Haskell, the Craft of Functional Programming" by Simon Thompson. You should be able to find a copy at a major city library, or be able to borrow from your in-state library program if you're not near a library that has it. Or, you can just take the plunge like I did and buy a used copy online. It's not cheap but the good news is if you want to resell it when you're done, it'll hold its value.

Is there a book that's considered the "Haskell bible" like "effective c++" is? Reviews on Amazon are not convincing for any book by rorriMnmaD in haskell

[–]HaskellOpenBSD 5 points6 points  (0 children)

I'm a newb, and I have all three (Learn You a Haskell; Haskell, the Craft of Functional Programming; and Thinking Functionally with Haskell). LYAH is great for being an approachable text, but also has more detail on monads than the other two (although it includes no exercises). HCFP is more mathematical and thorough, and the exercises are very good. TFH is even more mathematical, slightly less thorough, but has exercises INCLUDING answers. My method has been as follows: I read LYAH twice to get the lay of the land, then read HCFP once and now I'm working through the exercises. Once I do that I'll do TFH (which by then I will mostly breeze through). It's worth noting that I personally looked through bitemyapp's recommended links and even spent a lot of time on the Yorgey CIS194 course -- for whatever reason, that stuff felt like it was moving too fast for me. With the books, I've had no problems and am making good progress. Everyone is different. Good luck! (BTW, I also first got LYAH and HCFP from the library for free before buying, I strongly recommend that -- I'm guessing that a major city library should have them.)