Comment

Comment by shalabhc

Examples on the home page have broken indentation, or just a multi-level indentation that is confusing?

    class Point:
        x y z :: Int
      origin      = Point 0 0 0
      Point x y _ = origin
      print 'Origin XY coords are ($x,$y)'

(Why is `origin =` indented at all?)
parent shalabhc 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton