Git Product home page Git Product logo

Comments (20)

SimonRichardson avatar SimonRichardson commented on June 12, 2024 3

Versioning should solve this for us? Older versions should be on npm (etc) or you can still reference a commit, or just deprecate the repo and start another. As long as we don't have too:

  1. Maintain code for the sake of it.
  2. Have code that looks overly complicated because we're trying to do too much for too few!

from fantasy-maybes.

SimonRichardson avatar SimonRichardson commented on June 12, 2024 3

It's done!

from fantasy-maybes.

davidchambers avatar davidchambers commented on June 12, 2024 2

Alternatively, this repo could be renamed, but that would mean that contributors would have to update their local repos.

I think GitHub automatically redirects requests so this wouldn't be necessary. :)

from fantasy-maybes.

roobie avatar roobie commented on June 12, 2024 2

I propose that #9 gets merged, that the major version is incremented and a new release is created/published. After this is done, the discussion about replacing the implementation with the one from sanctuary can continue but consumers of this library have the opportunity to use the library as Maybe.

from fantasy-maybes.

SimonRichardson avatar SimonRichardson commented on June 12, 2024 1

I don't care about the name, change it!

from fantasy-maybes.

roobie avatar roobie commented on June 12, 2024 1

@joneshf
If I understand correctly:

  • Sanctuary does not necessarily want to implement its own Maybe/Option, but perhaps use this library instead,
  • Sanctuary does not want use this monad by the name Option,
  • This library should not export the same monad by two distinct names,

hence the rename of Option to Maybe

from fantasy-maybes.

safareli avatar safareli commented on June 12, 2024

I think it would be better to chose one name instead of createing multiple, but same types. Also we can clone this repo into fantasy-maybe and work on that.

from fantasy-maybes.

safareli avatar safareli commented on June 12, 2024

@fantasyland/core what do others think?

from fantasy-maybes.

TrevorBasinger avatar TrevorBasinger commented on June 12, 2024

We do have to consider that others have already written code with the current naming structure.

Names don't really matter to me. But I would hate for code to unexpectedly break. Perhaps a "deprecation" warning for a given period of time?

from fantasy-maybes.

hojberg avatar hojberg commented on June 12, 2024

Whats the best way to move "Maybe" forward? I'd love to help.

from fantasy-maybes.

SimonRichardson avatar SimonRichardson commented on June 12, 2024

Make a PR, should be quite simple tbh

from fantasy-maybes.

hojberg avatar hojberg commented on June 12, 2024

@SimonRichardson oh ok.
I was under the impression you'd make a new repo?

regardless i'm happy to open a PR :)

from fantasy-maybes.

hojberg avatar hojberg commented on June 12, 2024

Added PR: #9

from fantasy-maybes.

roobie avatar roobie commented on June 12, 2024

Would it not be prudent to create a new repo with a more fitting name (i.e. fantasy-maybe)?

Alternatively, this repo could be renamed, but that would mean that contributors would have to update their local repos.

from fantasy-maybes.

joneshf avatar joneshf commented on June 12, 2024

Sorry to seem dense, but I've no clue what's being proposed here. Is there a less than three sentence summary?

from fantasy-maybes.

joneshf avatar joneshf commented on June 12, 2024

Excellent! Thanks so much.

from fantasy-maybes.

hojberg avatar hojberg commented on June 12, 2024

@SimonRichardson any update on creating a new repository (or renaming)? We could get a baseline going by simply using the renamed code from #9?

from fantasy-maybes.

SimonRichardson avatar SimonRichardson commented on June 12, 2024

We should just rename this repo, i'll do it now.

from fantasy-maybes.

joshburgess avatar joshburgess commented on June 12, 2024

Any updates on this? It's been over a year. I agree with @roobie ... It would be cool to see #9 merged and then see whether or not @davidchambers 's Maybe implementation in Sanctuary would fit here.

from fantasy-maybes.

davidchambers avatar davidchambers commented on June 12, 2024

sanctuary-maybe has been released. 🎉

from fantasy-maybes.

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.