packages feed

hat

The Haskell tracer, generating and viewing Haskell execution traces

view on Hackage

hat-trans transforms Module.hs into Hat/Module.hs such that when the program is executed, a trace file Programname.hat is generated. Various tools (hat-trail, hat-observe, hat-explore ...) then allow viewing the trace file in different ways, to locate a bug or understand how a program works. Hat 2.9 uses the haskell-src-exts parser and other Hackage libraries to reduce its own size and simplify extensions. Module imports and exports have also been improved to handle nearly all kinds of renaming, hiding, etc. Hat 2.9 works only with ghc for Haskell 98 (plus a few extensions) and the standard Haskell 98 libraries plus some Haskell 2010 libraries. Although it should build on any operating system, most viewing tools use ASCII console escape sequences and they open xterms; hence they will only work well under Unix and X11. Tested on MacOS X 10.11.6. Installation: > cabal -v install Flag -v allows you to see what is going on. Building takes a long time (one module has 25.000 lines of code). Some compiler warnings have been turned off. The tracing transformation does produce code with lots of overlapping patterns. Use: > hat-make MyProgram.hs transforms and compiles all modules of your program and produces the tracing version Hat/MyProgram. Run your program > Hat/MyProgram which will produce trace files MyProgram.hat* Use the viewing tools to explore the trace: > hat-trail / hat-observe / hat-explore /... MyProgram There is documentation in the "docs" folder, but it is partially outdated. There are a few small programs for exploring tracing in the "examples" folder.
versionuploadeduploaderchanges
2.9.42017-11-03 16:45 UTCOlafChitil+2/−2 lines, 1 filesPVP ok
2.9.32017-11-03 14:30 UTCOlafChitil+21/−21 lines, 7 filesPVP ok
2.9.22017-11-02 16:35 UTCOlafChitil+125/−100 lines, 7 filesdep ~directoryPVP ok
2.9.12017-11-01 15:31 UTCOlafChitil+678/−667 lines, 36 filesdep ~basedep ~directorydep ~haskell-src-extsPVP: major bump suggested
2.9.0.02015-07-16 15:38 UTCOlafChitil1 revisions+425/−542 lines, 36 filesdep +polyparsedep ~haskell-src-exts
2.8.0.02013-09-02 14:59 UTCOlafChitil1 revisions+32336/−35510 lines, 110 filesdep +filepathdep +haskell-src-extsdep ~containers
2.7.0.122012-11-13 15:46 UTCOlafChitil+18/−12 lines, 5 files
2.7.0.112012-11-12 15:38 UTCOlafChitil+2645/−2 lines, 2 files
2.7.0.102012-11-12 10:08 UTCOlafChitil+40/−54 lines, 4 files
2.7.0.92012-11-09 17:28 UTCOlafChitil+2/−2 lines, 2 files
2.7.0.82012-11-09 17:08 UTCOlafChitil+2/−2 lines, 2 files
2.7.0.72012-11-08 11:45 UTCOlafChitil+132/−130 lines, 3 files
2.7.0.62012-11-07 09:42 UTCOlafChitil+2/−2 lines, 1 filesdep ~basedep ~directorydep ~old-locale
2.7.0.52012-11-06 12:49 UTCOlafChitil+16/−16 lines, 1 filesdep ~bytestringdep ~containersdep ~directory
2.7.0.42012-11-05 12:54 UTCOlafChitil+16/−16 lines, 1 filesdep ~basedep ~haskeline
2.7.0.32012-11-02 17:20 UTCOlafChitil+17/−17 lines, 1 filesdep ~base
2.7.0.22012-10-12 15:14 UTCOlafChitil+522/−141 lines, 4 files
2.7.0.12012-10-11 14:20 UTCOlafChitil+6784/−2216 lines, 100 filesdep ~haskeline
2.7.0.02012-10-08 16:04 UTCOlafChitil+67694/−0 lines, 248 filesdep +basedep +bytestringdep +containerssetup-changedbinary-added

Dependencies of hat-2.9.4

base >=4.9 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

bytestring >=0.9 0.12.1.0 → 0.12.2.0
2024-12-06 21:41 UTC0.12.2.0+538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok
2024-02-16 03:27 UTC0.12.1.0+3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested
2023-08-16 01:53 UTC0.12.0.2+16/−2 lines, 3 files
2023-08-05 00:03 UTC0.12.0.1+47/−9 lines, 3 files
2023-07-07 01:45 UTC0.12.0.0+1459/−520 lines, 21 filesdep +data-array-bytePVP ok

showing 5 of 49 versions

containers >=0.5.2 0.8 → 0.8.1
2026-10-04 06:08 UTC0.8.1+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

directory >=1.2 1.3.10.1 → 1.3.11.0
2026-05-27 05:59 UTC1.3.11.0+4560/−4504 lines, 25 filesdep ~file-iodep ~filepathdep ~os-stringPVP ok
2026-01-05 11:08 UTC1.3.10.1+4989/−4830 lines, 43 filesPVP: major bump suggested
2025-12-24 02:55 UTC1.3.10.0+90/−39 lines, 7 filesdep ~Win32dep ~basePVP: major bump suggested
2024-10-11 10:43 UTC1.3.9.0+235/−158 lines, 14 filesdep +file-iodep ~basedep ~timePVP: major bump suggested
2024-05-20 06:52 UTC1.3.8.5+15/−13 lines, 7 filesdep ~basePVP ok

showing 5 of 55 versions

filepath >=1.3 1.5.4.0 → 1.5.5.0
2026-01-20 08:14 UTC1.5.5.0+68/−12 lines, 8 filesdep +QuickCheckdep +template-haskell-liftdep +template-haskell-quasiquoterPVP ok
2024-11-17 13:06 UTC1.5.4.0+26/−6 lines, 3 filesdep ~basePVP ok
2024-06-29 15:30 UTC1.5.3.0+876/−871 lines, 13 filesdep −QuickCheckdep ~basePVP: major bump suggested
2024-01-26 07:02 UTC1.5.2.0+330/−256 lines, 11 filesdep +generic-derivingdep +generic-randomdep +tastydep ~basedep ~os-stringPVP ok
2023-11-25 08:29 UTC1.5.0.0+53/−3744 lines, 35 filesdep +os-stringdep ~basePVP ok

showing 5 of 35 versions

haskeline >=0.6 0.8.4.1 → 0.8.5.0
2026-06-27 08:23 UTC0.8.5.0+426/−89 lines, 13 filesdep +optparse-applicativePVP ok
2025-10-05 11:48 UTC0.8.4.1+243/−178 lines, 8 filesPVP ok
2025-09-05 12:42 UTC0.8.4.0+237/−91 lines, 16 filesdep ~containersdep ~directoryPVP: major bump suggested
2025-02-08 08:49 UTC0.8.3.0+77/−31 lines, 6 filesdep ~Win32dep ~basenew-uploaderPVP ok
2023-02-22 21:45 UTC0.8.2.1+18/−7 lines, 5 filesdep ~Win32dep ~basedep ~bytestringnew-uploaderPVP ok

showing 5 of 63 versions

haskell-src-exts >=1.18 && <1.19 1.18.2 → 1.24.0 newer than bounds
2026-07-04 05:40 UTC1.24.0 newer than bounds+1040/−69 lines, 33 filesdep ~arraydep ~ghc-primdep ~prettyPVP ok
2020-06-02 02:38 UTC1.23.1 newer than bounds+16/−8 lines, 7 filesdep ~basePVP ok
2020-01-03 21:30 UTC1.23.0 newer than bounds+1756/−13 lines, 20 filesPVP ok
2019-11-01 02:20 UTC1.22.0 newer than bounds+34529/−31943 lines, 66 filesPVP ok
2019-09-03 18:17 UTC1.21.1 newer than bounds+35/−440 lines, 10 filesdep ~basenew-uploaderPVP: major bump suggested

showing 5 of 91 versions

old-locale >=1.0 1.0.0.6 → 1.0.0.7
2014-11-21 11:00 UTC1.0.0.7+11/−11 lines, 2 filesdep ~basePVP ok
2014-03-22 08:55 UTC1.0.0.6+74/−29 lines, 3 filesdep ~basenew-uploaderPVP ok
2012-09-06 18:08 UTC1.0.0.5+10/−10 lines, 1 filesPVP ok
2012-02-02 23:16 UTC1.0.0.4+5/−1 lines, 2 filesPVP: major bump suggested
2011-08-25 12:29 UTC1.0.0.3+3/−3 lines, 1 filesPVP ok

showing 5 of 8 versions

old-time >=1.1 1.1.0.5 → 1.1.1.0
2026-03-07 10:25 UTC1.1.1.0+495/−331 lines, 6 filesdep +old-timedep +tastydep +tasty-hunitdep ~basedep ~old-localenew-uploaderPVP ok
2026-01-06 08:48 UTC1.1.0.5+18/−8 lines, 2 filesPVP ok
2023-12-11 08:39 UTC1.1.0.4+4746/−4619 lines, 4 filesnew-uploaderPVP: major bump suggested
2014-11-21 10:59 UTC1.1.0.3+50/−186 lines, 5 filesdep ~basesetup-changedPVP ok
2014-03-22 09:43 UTC1.1.0.2+1128/−904 lines, 9 filesdep ~basedep ~old-localenew-uploaderPVP ok

showing 5 of 14 versions

polyparse >=1.11 1.13 → 1.13.1
2025-09-14 15:39 UTC1.13.1+186/−163 lines, 19 filesdep −faildep ~basenew-uploaderPVP: major bump suggested
2019-08-22 14:00 UTC1.13+49/−15 lines, 12 filesdep ~basedep ~bytestringdep ~textPVP ok
2018-10-30 20:47 UTC1.12.1+125/−55 lines, 13 filesdep +faildep ~basedep ~bytestringdep ~textnew-uploaderPVP: major bump suggested
2016-04-12 17:11 UTC1.12+582/−19 lines, 5 filesPVP ok
2015-01-01 14:05 UTC1.11+55/−29 lines, 8 filesdep ~basePVP ok

showing 5 of 17 versions

process >=1.1 1.6.29.0 → 1.6.30.0
2026-06-11 10:14 UTC1.6.30.0+19/−1 lines, 2 filesPVP ok
2026-05-24 11:03 UTC1.6.29.0+5282/−4831 lines, 7 filesdep ~basePVP ok
2026-04-18 12:18 UTC1.6.28.0+70/−33 lines, 3 filesPVP ok
2026-03-08 19:39 UTC1.6.27.0+3/−2 lines, 2 filesPVP ok
2026-03-07 13:46 UTC1.6.26.2+4852/−5346 lines, 7 filesPVP ok

showing 5 of 57 versions

random >=1.0 1.3.0 → 1.3.1
2025-04-04 14:25 UTC1.3.1+15/−6 lines, 3 filesPVP ok
2025-01-06 04:03 UTC1.3.0+2410/−538 lines, 16 filesdep +data-array-bytedep ~basedep ~transformersPVP ok
2024-12-14 20:31 UTC1.2.1.3+22/−37 lines, 3 filesdep −doctestdep −mwc-randomdep −unliftiodep ~basedep ~containersdep ~primitivePVP ok
2024-02-04 16:26 UTC1.2.1.2+17/−12 lines, 2 filesdep ~doctestdep ~tastyPVP: major bump suggested
2022-05-09 02:32 UTC1.2.1.1+8/−9 lines, 3 filesdep −ghc-byteorderdep ~bytestringdep ~doctestdep ~mtlPVP ok

showing 5 of 15 versions

Reverse dependencies

1 packages depend on hat

acme-everything 2018.11.18 requires hat >=0