summaryrefslogtreecommitdiff
path: root/lib/Util.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-10-24a year went byHEADmainstuebinm1-79/+0
This does many meta-things, but changes no functionality: - get rid of stack, and use just cabal with a stackage snapshot instead (why did I ever think stack was a good idea?) - update the stackage snapshot to something halfway recent - thus making builds work on nixpkgs-23.05 (current stable) - separating out packages into their own cabal files - use the GHC2021 set of extensions as default - very slight code changes to make things build again - update readme accordingly - stylish-haskell run
2022-10-11code formatterstuebinm1-2/+2
2022-10-11use template haskell aeson, not genericsstuebinm1-2/+2
this has been bothering me for MONTHS, and it compiles faster now. also fixed some warnings
2022-03-19unbreak a very, very long rebasestuebinm1-4/+2
2022-03-19make tiled stricter (and organise some imports)stuebinm1-1/+1
2022-03-19separate tiled modules out into own packagestuebinm1-1/+1
2022-03-19switch to universum preludestuebinm1-13/+6
also don't keep adjusted maps around if not necessary
2022-03-19use hpack and clean up modulesstuebinm1-1/+8
as annoying as yaml is, cabal's package format is somehow worse, apparently
2021-12-29maps, maps, and yet more mapsstuebinm1-1/+6
don't add maps to the result if their lint result looks the same as that of another list, just say it happened several times instead (this leads to a rather confusing Eq instance for MapResult which implements a very simple surface-level equality — perhaps change that later)
2021-12-29tiles can also have properties like tile layersstuebinm1-4/+4
2021-12-15suggest setting map meta properties if not givenstuebinm1-4/+8
2021-12-08rudimentary linting for overlapping layersstuebinm1-0/+5
2021-12-04lots of code reorganising and some deduplicationstuebinm1-1/+1
it was kinda getting messy in places. Also found some accidental isomorphisms between types, so these are now only one type because the consequences were getting silly.
2021-12-04refuse doubled namesstuebinm1-0/+5
2021-12-02do (naïve) html escapingstuebinm1-0/+6
because we can't ever trust workadventure, apparently. why are we using that thing again?
2021-10-30add tileset property lintingstuebinm1-2/+5
this reorganised the whole linting for tilesets somewhat; it's now very similar to that linting layers, and it may be possible to abstract some of the code away ...
2021-09-20use PrettyPrinter morestuebinm1-1/+5
2021-09-19some properties require non-empty layersstuebinm1-2/+8
2021-09-19support for properties that aren't stringsstuebinm1-0/+6
apparently i couldn't read or something?
2021-09-18moved types into Types.hsstuebinm1-1/+1
it's almost as if there's some structure to this code!
2021-09-18tame the stringsstuebinm1-14/+24
Adds a PrettyPrint typeclass which operates on Text and should replace Show, since constantly converting strings from linked lists to arrays seems somewhat silly.
2021-09-16moving lots of code aroundstuebinm1-0/+27
(also renaming things now that concepts seem a bit clearer)