Commit Graph

19 Commits

Author SHA1 Message Date
Brent Yorgey
5a01658883
rename unit type to unit (#697)
Closes #696.
2022-09-26 20:10:12 +00:00
Brent Yorgey
e6defd44b1
update to brick-1.0 (#641)
* Update to `brick-1.0`
* Test with GHC 9.2.4
2022-08-17 12:35:10 -05:00
Brent Yorgey
1c41a0e19e
update stack build for new EventM API (#583) (#599) 2022-07-27 17:15:09 -05:00
Brent Yorgey
b0ad993a3f trigger deadpendency run 2022-07-27 23:40:31 +02:00
Ondřej Šebek
dabcb21608 Update stack resolver 2022-06-09 01:29:05 +02:00
Brent Yorgey
69929f1b61 Bump dependency bounds
- bump upper bounds on dependencies
- remove special th-extras and depedent-sum deps
- fix problems with new opaque types in Aeson
2022-06-09 01:29:05 +02:00
Brent Yorgey
ee857a5d21
upgrade to brick-0.69 (#365)
Closes #340.
2022-06-04 22:59:18 -05:00
Brent Yorgey
cdd3aff892 remove https://github.com/jtdaugherty/brick/issues/337 workaround
This issue is fixed in `brick-0.64.2`.
2021-10-22 11:55:32 -05:00
Paul Brauner
b72e09edb1
Use fused-effects for the game logic (#256)
Resolves #228.

I've redefined the missing lens operators in `Utils.hs` in order to keep the diff of the function bodies minimal. Hopefully that will make merges and rebases less painful. Most of the type signatures are modified though, we can't avoid this.
2021-10-21 22:44:56 +00:00
Jens Petersen
6adc150530
stack: update to hashable-1.3.4.1 which builds (#168)
hashable-1.3.4.0 looks broken at least on lts18
2021-10-04 10:59:51 +00:00
Daniel Díaz Carrete
4d3f3aa12a
Compatibility with hashable-1.3.4 (#142)
The code has an orphan instance `Hashable (Map k v)` but, starting from [hashable-1.3.4.0](https://hackage.haskell.org/package/hashable-1.3.4.0/docs/Data-Hashable.html#t:Hashable), that instance already exists in hashable itself, making compilation fail.

I disabled it for that case using a CPP directive.
2021-10-02 15:34:38 +00:00
Tristan de Cacqueray
c7baf13efe
Add basic editor integration with LSP (#108)
This change improves the user experience when editing swarm code outside of the REPL with:

- CLI for a `format` command to quickly parse and type check a file.
- Basic LSP server to provide IDE feedback on save, e.g. visual squiggly for errors.
- Initial emacs mode.

Fixes #82 #110
2021-10-01 20:11:08 +00:00
Jens Petersen
fc855e7fc1
stack: update to latest lts-18.12 for ghc-8.10.7 (#107) 2021-09-29 11:11:09 +00:00
Brent Yorgey
a2aa581ca5 indent wrapped recipes by two spaces
Closes #48.
2021-09-25 16:49:15 -05:00
Brent Yorgey
38a0bbe063 tweaks to world, shift to spawn base at a tree 2021-09-04 07:19:22 -05:00
Brent Yorgey
f8a3f077cc play with hsnoise for world generation 2021-08-25 21:12:58 -05:00
Brent Yorgey
c299ae1783 downgrade to LTS-18.6
18.7 has GHC 8.10.6, but hls doesn't suport it yet.
2021-08-25 13:02:32 -05:00
Brent Yorgey
842688eef1 fix stack.yaml 2021-08-25 09:21:38 -05:00
Brent Yorgey
a1885536d2 set up stack 2021-08-24 21:59:03 -05:00