Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 19 03:14
    MasterEric opened #9
  • Feb 22 12:24
    RealyUniqueName commented #114
  • Feb 21 07:22
    acarioni commented #114
  • Feb 20 11:02
    RealyUniqueName commented #114
  • Feb 20 11:00
    RealyUniqueName labeled #114
  • Feb 20 10:59
    RealyUniqueName commented #114
  • Feb 14 08:18
    acarioni opened #114
  • Jan 19 04:30

    RealyUniqueName on master

    Add execution time (#113) * ad… (compare)

  • Jan 19 04:30
    RealyUniqueName closed #113
  • Jan 18 21:41
    AlexHaxe opened #113
  • Jan 17 00:18

    fponticelli on master

    Fix thx.Set#toString type confu… Merge pull request #278 from xu… (compare)

  • Jan 17 00:18
    fponticelli closed #278
  • Jan 16 21:45
    xunto edited #278
  • Jan 16 21:44
    xunto opened #278
  • Jan 15 23:35

    fponticelli on master

    Fix wrong sign in DateTime#subt… Add tests. Merge pull request #277 from xu… (compare)

  • Jan 15 23:35
    fponticelli closed #277
  • Jan 15 23:35
    fponticelli commented #277
  • Jan 15 21:35
    xunto commented #277
  • Jan 15 21:35
    xunto commented #277
  • Jan 15 21:23
    xunto synchronize #277
ousado
@ousado
yeah.. and frankly, the change is so small
if he comes with his veto again, I seriously consider a fork
this is only on syntax level, no semantics touched
Franco Ponticelli
@fponticelli
this is really impressive: var ff = a -> b -> b*a;
ousado
@ousado
not even a new AST node or anything
yeah, I think it's kind of beautiful :)
Franco Ponticelli
@fponticelli
it really is
ousado
@ousado
seeing it in haxe now, I like it even better than =>
Franco Ponticelli
@fponticelli
it is consistent with the type system, which is great
it took me a while to get used to the lean arrow but I like it now :)
ousado
@ousado
hehe, yeah
and with haskell and ocaml we're in good company there
Franco Ponticelli
@fponticelli
so you have a branch with those changes?
ousado
@ousado
yeah
Franco Ponticelli
@fponticelli
you should add a link to it to the proposal
ousado
@ousado
that's all it takes
oh, I did
Franco Ponticelli
@fponticelli
or maybe it is already there?
ok, I missed it
ousado
@ousado
yeah, maybe not fat enough?
I could add some cheering emojis around it, maybe :P
Franco Ponticelli
@fponticelli
maybe :)
I added a couple of emojis
ousado
@ousado
haha
btw - I wrote a HList implementation yesterday
in pure haxe, just with GADTs
and then I looked at it and nope, too ugly without short lambdas: http://try-haxe.mrcdk.com/#D7511
oh, there's all kinds of stuff in there now.. nevermind :) - it's just the very first type, really
Franco Ponticelli
@fponticelli
:)
Thomas Uster
@thomasuster
How do you run the tests?
Got it working
Franco Ponticelli
@fponticelli
cool :)
Thomas Uster
@thomasuster
@fponticelli The isPrime function in BigInt, what algorithm is that?
Franco Ponticelli
@fponticelli
here I am
Thomas Uster
@thomasuster
:+1:
Franco Ponticelli
@fponticelli
what do you want to know about isPrime?
Thomas Uster
@thomasuster
I used it for some primes, and it returned an incorrect value
Franco Ponticelli
@fponticelli
hmmm ... that sounds like a bug
let me see if I can find the original
Thomas Uster
@thomasuster
Okay, I'd love taking a look at the original as well
Some primality tests are faster, but only tell you some of the time if it is a prime or not
There is an algorithm for a polynomial time primality test
that's 100% correct always
the implementation seems to have changed since I ported it ... so maybe there was a bug there
Thomas Uster
@thomasuster
Hmmm
I will test the JS implementation when I get a chance
But it doesn't look correct to me either