Skip to content

Comment on Python 2.8 Un-release Scheduleparent

Comments

I see your Haskell and raise you OCaml, which has / and /. operators and you use float_of_int with /. if you really do want a float at the end.

    # 5/2;;
    - : int = 2
    # 5 /. 2;;
    Error: This expression has type int but an expression was expected of type float
    # 5.0 /. float_of_int 2;;
    - : float = 2.5
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.