GithubHelp home page GithubHelp logo

Confusion between DSL/Effects about freek HOT 4 OPEN

mandubian avatar mandubian commented on September 24, 2024
Confusion between DSL/Effects

from freek.

Comments (4)

mandubian avatar mandubian commented on September 24, 2024

That's not false even if the vast majority of DSL we tend to use are compiled into effectful computations actually... That's why I speak about effects but as you say, effects aren't the primary target.
I called FX but that wasn't certainly a so nice idea...

Anyway, compared to Emm, it makes things less risky between combining DSL with Coproduct & monadic return types stack with Onion...

from freek.

mandubian avatar mandubian commented on September 24, 2024

I'll change a few sentences to remove this fake effect-oriented impression...
I think there is still something better to do with effects... Eff & others are yet a bit too hairy IMHO...

from freek.

aloiscochard avatar aloiscochard commented on September 24, 2024

Yep for sure it's not false, but it's just one of many use case that your library can support.

It is more general than Emm or equivalent, and it would be a shame to give a fake impression that it is dedicated to effect handling.

Thanks a lot for taking my remark into consideration :-) I can't wait to dive more into it when getting to impl. next-gen Free in scalaz8!

On effect per se, I'm personally fine with transformers. Scala have a poor inference that make them not so handy, but in general I find them quite elegant to use... but we digress my friend ;)

from freek.

mandubian avatar mandubian commented on September 24, 2024

I'm eager to see your new Free representation actually!
I've tried pushing optimized CoproductK structure for compiling recently in Freek... There are things to do around these ideas of optimized structures for compile-time & runtime ;)

And no it's no digression at all :D
In Scala, transformers have poor inference as you say (even if SI2712 patch improves a lot the way we can infer HK thingies). But the main issue I see is that they have reached this state in which they have a very bad reputation and lots of devs are very reluctant to use them... it's stupid but it's a fact...
What's really funny with Free is that I discovered it was very easy to catch for people discovering them and they have the advantage of being new & not yet considered harmful :)... Onion too even if it's quite restricted compare to transformers but corresponds to most of practical cases...

Anyway, I try to do all of that to open minds about those concepts and if it happens to be useful, it's even better... my little stone in the big building ;)

from freek.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.