Skip to content

either-let not working as intended? #1

Description

@caleb

Hi,

I've been looking for a better way to do error handling in my apps and this library looks like the kind of thing I want.

I'm confused about either-let, and I don't know if I understand how it works:

  (either-let [a (ok 1)
               b (inc a)]
    a)
  => 2

Shouldn't the above snippet return 1 or (ok 1)?

If not, sorry for bugging you :)

-Caleb

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions