harper-core 2.0.0

The language checker for developers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
expr main (yesterday night)

let message "The idiomatic phrase is `last night`."
let description "Flags `yesterday night` and suggests the standard phrasing `last night`."
let kind "WordChoice"
let becomes "last night"

test "I was there yesterday night." "I was there last night."
test "Yesterday night was fun." "Last night was fun."
test "Yesterday night, we watched a movie." "Last night, we watched a movie."
test "They left yesterday night after the show." "They left last night after the show."
allows "I remember last night clearly."