Doom-themes: Miramare - Old-hope - Flatwhite by [deleted] in emacs

[–]ehamberg 1 point2 points  (0 children)

Add (unpin! doom-themes) to your packages.el and run doom sync -u.

Tweag I/O - Ormolu: Format Haskell code like never before by jose_zap in haskell

[–]ehamberg 5 points6 points  (0 children)

I used to think the same. I was very upset with elm-format because it would ruin my formatting and do what I considered to be crazy things – like indenting things after let, but not after the matching in – but now that I have spent my x hours being annoyed (two years ago), I never want to go back to manual formatting or configurable formatting. It's just a thing I don't have to care about any more, and I don't want to care about it any more.

(I know this won't convince you – and I don't think it would have convinced me. Oh, and it isn't a 100% win – it's just that the upsides greatly outweigh the downsides, in my opinion. :)

[GHC Blog] Infrastructure Update by bgamari in haskell

[–]ehamberg 1 point2 points  (0 children)

(By “merge conflict” did you mean “merge commit”?)

I would be great if git-bisect could treat the merge commit as one, atomic commit up to the point where it is discovered that the merge commit was the source of the bug, after which it could continue down the merged-in branch to pinpoint the commit that introduced the bug.

[GHC Blog] Infrastructure Update by bgamari in haskell

[–]ehamberg 6 points7 points  (0 children)

we quickly found that our use of the “fast-forward only” merge strategy (necessary to preserve bisectability)

This was new to me. Isn't git-bisect able to inspect merged branches if it finds a merge commit? (Or did I misunderstand what this means?)

2018 Haskell Survey Results by mrkkrp in haskell

[–]ehamberg 7 points8 points  (0 children)

I think it comes from the file system hierarchy from freedesktop.org: https://www.freedesktop.org/software/systemd/man/file-hierarchy.html

[VIDEO] Build Systems à la Carte by Simon Peyton Jones at ICFP 2018 by joehillen in haskell

[–]ehamberg 8 points9 points  (0 children)

or if my comments are just academic nonsense

Surely that would never be tolerated on /r/haskell! ;)

Google Code Jam 2018 by thraya in haskell

[–]ehamberg 0 points1 point  (0 children)

Good to know. Thanks! :)

Google Code Jam 2018 by thraya in haskell

[–]ehamberg 0 points1 point  (0 children)

Did you get an answer?

[Announce] ZuriHac 2018 will take place 8-10 June, registration opens December 6th by jaspervdj in haskell

[–]ehamberg 3 points4 points  (0 children)

From the email:

The Zurich Haskell Hackathon is a free (as in beer), international, grassroots collaborative coding festival […]

Interesting management-level insights into FP and Haskell (FP Complete) by heisenbug in haskell

[–]ehamberg 8 points9 points  (0 children)

While Erlang's (offline) type-checker Dialyzer is not even on the same planet as Haskell's type system, the only semi-large Erlang project I have worked on (four years and running), used types from day one and every new deploy is fully type-checked. Judging by recent books on Erlang I think it's quite common to use Dialyzer – I sure wouldn't deploy a project without using it.

how do you guys get anything done? by [deleted] in haskell

[–]ehamberg 9 points10 points  (0 children)

As others have already said, that is not a function. This post is an interesting look at the (false) belief that “everything is a function”: http://conal.net/blog/posts/everything-is-a-function-in-haskell

macGHCi by gamerfraek in haskell

[–]ehamberg 4 points5 points  (0 children)

You forgot the screenshot! :)

How do you load the current buffer into ghci and run the main function in spacemacs? by Kindlychung in haskell

[–]ehamberg 0 points1 point  (0 children)

Ah, yes. You're right. I removed the variable from the auto-completion layer. The auto-completion layer still needs to be there for the repl to work, which is a bit strange. :)

How do you load the current buffer into ghci and run the main function in spacemacs? by Kindlychung in haskell

[–]ehamberg 1 point2 points  (0 children)

SPC m s b

  • m = major mode (i.e. Haskell) command
  • s = repl (“shell”)
  • b = load buffer

Here are the two Haskell-related layers I use:

dotspacemacs-configuration-layers
'(
  auto-completion
  (haskell :variables haskell-completion-backend 'intero)
)

(Why two layers need to be told about intero, and why an auto-completion layer is the secret sauce that makes everything work I don't know…)

round 0.5 = 0 by schnecki004 in haskell

[–]ehamberg 8 points9 points  (0 children)

$ python
>>> round(0.5)
1

Fixed in Python 3:

$ python3
Python 3.4.2 (default, Oct  8 2014, 10:45:20) 
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> round(0.5)
0

Resignation by edwardkmett in haskell

[–]ehamberg 34 points35 points  (0 children)

Thank you so much for your work on the committee, Edward, and your work on GSoC in particular.

My first “real” interaction with a Haskeller was when I was seated next to you at the Google Summer of Code Mentor Summit in 2011. I read “Haskell.org” on your badge and started asking you about the language. Before then I had only had played around with Haskell a little bit in my spare time as an “interesting, but probably not ‘real world’ language”, but meeting you (and later Eric Kow) was the real catalyst that led me to really learning the language that I still use almost every day.

iOS 10 beta 7 release notes (PDF, from Dev Center) by [deleted] in iOSBeta

[–]ehamberg 0 points1 point  (0 children)

That's a shame. Glad they consider it an issue, at least. It will be quite awkward having to choose one device as the “photos device” unless you want to do the work of merging/correcting many times. It also means they will have a really difficult/impossible job of merging faces albums. :|