News for hackers. Stuff that matters.
Re:Pure Python Vim clone by bsummer4 on Sunday April 26, 2015 @02:27PM (#9442734)
You can't write this in Haskell:

  print(arr[i])
You can write this, but you probably wouldn't.

  print (arr `V.unsafeIndex` i)
Re:Pure Python Vim clone by dllthomas on Sunday April 26, 2015 @02:45PM (#9442816)
Unfortunately, unsafeIndex is often spelled "!". There is a push (which I support!) away from partial functions, but there are still plenty of partial functions provided by standard libraries under names that sound reasonable.