Re: [PATCH] Fix typo in generic sleq implementation
[Thread Prev] | [Thread Next]
- Subject: Re: [PATCH] Fix typo in generic sleq implementation
- From: Ori Bernstein <ori@xxxxxxxxxxxxxx>
- Reply-to: myrddin-dev@xxxxxxxxxxxxxx
- Date: Thu, 12 Jul 2018 19:02:56 -0700
- To: myrddin-dev@xxxxxxxxxxxxxx
- Cc: iriri <iri@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Oops, misunderstood -- and applied. On Thu, 12 Jul 2018 12:05:56 -0700 Ori Bernstein <ori@xxxxxxxxxxxxxx> wrote: > Actually, how about we delete the function and use `std.eq` :) > > I think I fixed usages in libstd, but I didn't want to break code > for 0.3. > > On Thu, 12 Jul 2018 12:02:57 -0700 > iriri <iri@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > > > --- > > lib/std/sleq.myr | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/lib/std/sleq.myr b/lib/std/sleq.myr > > index c91f826d..30f49d51 100644 > > --- a/lib/std/sleq.myr > > +++ b/lib/std/sleq.myr > > @@ -28,7 +28,7 @@ generic sleq = {a, b > > > > impl equatable @a[:] = > > eq = {a, b > > - if a.len == b.len > > + if a.len != b.len > > -> false > > ;; > > /* can't use memeq because of padding */ > > -- > > 2.18.0 > > > > > > > -- > Ori Bernstein <ori@xxxxxxxxxxxxxx> > -- Ori Bernstein <ori@xxxxxxxxxxxxxx>
[PATCH] Fix typo in generic sleq implementation | iriri <iri@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Re: [PATCH] Fix typo in generic sleq implementation | Ori Bernstein <ori@xxxxxxxxxxxxxx> |
- Prev by Date: Re: [PATCH] Fix typo in generic sleq implementation
- Next by Date: [PATCH] Add documentation for tuple access expressions
- Previous by thread: Re: [PATCH] Fix typo in generic sleq implementation
- Next by thread: [PATCH] Add documentation for tuple access expressions
- Index(es):