l7r7_ Profile Banner
Leonhard R Profile
Leonhard R

@l7r7_

Followers
180
Following
6K
Statuses
1K

I run on music | writing functions for a living | Scala by day, Haskell at night

Stuttgart, Deutschland
Joined August 2012
Don't wanna be here? Send us removal request.
@l7r7_
Leonhard R
4 months
RT @hmemcpy: "Marking illegal states unrepresentable" is incredibly easy - use a language with sum types and exhaustive pattern matching. Y…
0
15
0
@l7r7_
Leonhard R
7 months
RT @kerckhove_ts: New CS SYD Blog post: Announcing opt-env-conf
0
1
0
@l7r7_
Leonhard R
8 months
@kerckhove_ts First attempts are promising😃 I'll probably have some questions soon, where do you want me to ask them?
1
0
0
@l7r7_
Leonhard R
10 months
@grauhut Das hier hängt bei mir an der Wand:
0
0
1
@l7r7_
Leonhard R
1 year
@kerckhove_ts It's very helpful for making sure encodings work as expected (e.g. aeson instances). At work, we use golden tests for the output of data exports
0
0
1
@l7r7_
Leonhard R
1 year
... it's not that easy. I could duplicate the test cases and always add one more step which is then verified (which is bad because of a lot of duplicated code), or I could try to write an instance for `IsTest [GoldenTest a]` (which I think would be possible?). What do you think?
0
0
0
@l7r7_
Leonhard R
1 year
@kerckhove_ts The german word for competition is "Konkurrenz", concurrency involves some kind of competition for a resource, parallelism doesn't
0
0
0
@l7r7_
Leonhard R
2 years
It's here! And it only took about a week to ship it to Germany, wasn't expecting it to be that quick! Great job, @ManningBooks, looking forward to it @mpilquist
Tweet media one
0
0
5
@l7r7_
Leonhard R
2 years
RT @groveydean: 15 years ago today, Roy’s album “Earfood” was released worldwide.  Featuring his then-quintet of Justin Robinson, Danton Bo…
0
66
0
@l7r7_
Leonhard R
2 years
@kerckhove_ts I was wondering if that would require a BeforeAllWithNode, but that's probably me failing to put together the types properly
0
0
0
@l7r7_
Leonhard R
2 years
@kerckhove_ts I see the problem. Might be a bit more involved because it needs changes to SpecDefTree?
2
0
0
@l7r7_
Leonhard R
2 years
@kerckhove_ts Here you go: context: My tests need the host and API token because I'm testing against a real API if my bindings work. There might be more config parameters in the future, that's why I thought it's a good idea to only read them once
1
0
0
@l7r7_
Leonhard R
2 years
@kerckhove_ts Not quite what I was hoping for. It was very easy to switch to beforeAll, but it doesn't change that much
Tweet media one
1
0
0
@l7r7_
Leonhard R
2 years
@kerckhove_ts I see. Would it be the same with beforeAll?
1
0
0
@l7r7_
Leonhard R
2 years
@kerckhove_ts does a setupAroundAll make all specs run sequentially? The tests for each spec run in parallel, but only one spec at a time
1
0
1
@l7r7_
Leonhard R
2 years
My phone can't handle running multiple timers at once. I can't start a second one without cancelling the one that's already running. Welcome to 2023, I guess
0
0
0