Zkp5skehulftys8phnuy
SkillsCast

Wire Once, Rewire Twice

11th October 2018 in London at CodeNode

There are 38 other SkillsCasts available from Haskell eXchange 2018

Please log in to watch this conference skillscast.

731747469 640

At Zalando, they use a "modules-as-records-of-functions" to structure their services and share code. They need the ability to create components which can easily be wired together but also changed at will for unit or integration testing even if they are very far down in the dependency tree.

This talk will show how Eric approached this problem, started solving it with 2 simple type classes and a bit of Template Haskell but then came up with a much more simple way, relying on just one data structure!

Not only this makes reconfiguring applications a breeze but the same technique can be applied to Hedgehog generators where you can define a "compositional language" to modify existing generators for nested data structures. You can now express things like "generate a model of shoe with only the colour blue and 2 sizes

YOU MAY ALSO LIKE:

Thanks to our sponsors

Wire Once, Rewire Twice

Eric Torreborre

Scala and Haskell developer at Zalando.

SkillsCast

Please log in to watch this conference skillscast.

731747469 640

At Zalando, they use a "modules-as-records-of-functions" to structure their services and share code. They need the ability to create components which can easily be wired together but also changed at will for unit or integration testing even if they are very far down in the dependency tree.

This talk will show how Eric approached this problem, started solving it with 2 simple type classes and a bit of Template Haskell but then came up with a much more simple way, relying on just one data structure!

Not only this makes reconfiguring applications a breeze but the same technique can be applied to Hedgehog generators where you can define a "compositional language" to modify existing generators for nested data structures. You can now express things like "generate a model of shoe with only the colour blue and 2 sizes

YOU MAY ALSO LIKE:

Thanks to our sponsors

About the Speaker

Wire Once, Rewire Twice

Eric Torreborre

Scala and Haskell developer at Zalando.

Photos