Sandy Maguire: Don't Eff It Up: Free Monads in Action

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ย. 2024

ความคิดเห็น • 8

  • @nilp0inter2
    @nilp0inter2 5 ปีที่แล้ว +3

    this is mind-boggling

    • @callenjulian9415
      @callenjulian9415 3 ปีที่แล้ว

      @Riley Korbin Definitely, I've been using flixzone} for years myself =)

  • @cynocephalusw
    @cynocephalusw 3 ปีที่แล้ว

    Reminded me of Stephen Compall‘s device to produce types with a bunch of params, derive instances mindlessly and discover their meaning later on.

  • @lennoxkyalo6775
    @lennoxkyalo6775 7 ปีที่แล้ว

    you are good dude. i am thankful for your blog posts

  • @HaroldCarr
    @HaroldCarr 7 ปีที่แล้ว +1

    Here is a file that compiles and run all the code in the slides: github.com/haroldcarr/learn-haskell-coq-ml-etc/blob/master/haskell/topic/monads-lens/sandy-mcquire-freer-monads-in-action-eff/src/VEff.hs

  • @JanusTroelsen
    @JanusTroelsen 5 ปีที่แล้ว

    note that the recommended freer-effects is dead, author suggests alternative: github.com/IxpertaSolutions/freer-effects/pull/28#issuecomment-410864692

  • @donnaru
    @donnaru 5 ปีที่แล้ว +2

    I'm not sure I understand the benefits of testing a completely different interpreter. I understand that you are using the same high-level datatypes to write the pure versions of the functions but you basically have a totally different interpreter. So you are not testing the side effects you are using and you are not testing the functionality within the real interpreter either. You are just writing a completely different interpreter which works for a given datatype. I don't really get the point of this

    • @aptennap
      @aptennap 5 ปีที่แล้ว +3

      I think the point is that you are testing the business logic which uses some effects. But you still need other types of testing to test the real effectful interpreter.