Hacker News new | past | comments | ask | show | jobs | submit login

for some reason I get

    "([True,True],fromList [('x',1.7500000780766642),('y',-0.24999969839074443)])"
when i run

    print $ show $ solveSystem 
     [ ((2 * x) + (3 * y)) * (x - y) === 2
     , (3 * x) + y === 5 ] 
     $ Map.fromList [('x', 0),('y', 0)]

which doesn't match the suggested solutions.. using this code: https://gist.github.com/80e982016a267b1f2e48

* edit - lowering the precedence of === fixed it




Thanks, I've updated the page with a fix.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: