Grow
A declarative make-like interpreter.
view on Hackage
Grow is a well-defined replacement for Makefiles and the like to build complex
hierarchies of files with minimal effort.
Like many Makefile-like tools, Grow depends on the notion of
timestamps to determine whether a file should be recompiled or
not. Grow is much simpler than those, though, and I might argue way
easier to use as well.
On startup, Grow will look for a file named "Seed" in the current
directory, and evaluate the grow expressions contained within.
For example, here is a simple Seed file to compile a single C file
into an executable.
> tee $$arg:in {
> all = ($main:seq "All done !"):in $execs
> execs = hook ld [main] [main.o] :in $objects
> objects = hook cc [main.o] [main.c]
}
Notice the `hook` function ? It is the Grow primitive that calls an
external program to perform actual tasks.
In Grow, hooks are expected to only accept files as their arguments,
so we have to write the wrapper scripts `cc` and `ld` that accept
arguments in the form "<destination>... <source>...". They are pretty
trivial to write since they only involve renaming variables and
swapping arguments.
Here are sample `cc` and `ld` scripts to show you there is nothing
magical about them :
> #!/bin/bash
> obj="$1" ; shift ; src="$1"
> gcc -c "$src" -o "$obj"
> #!/bin/bash
> bin="$1" ; shift ; obj="$1"
> gcc "$obj" -o "$bin"
In grow, instead of writing recipes in the configuration, we just declare
hooks and then write the appropriate wrapper scripts to call compilers with
the correct flags and arguments.
| version | uploaded | uploader | | changes |
|---|
| 1.1.0.3 | 2014-07-13 11:32 UTC | MarcCoiffier | 3 revisions | +45/−44 lines, 1 files |
| 1.1.0.2 | 2014-07-13 11:14 UTC | MarcCoiffier | | +12/−12 lines, 1 files |
| 1.1.0.1 | 2014-07-13 10:59 UTC | MarcCoiffier | | +44/−44 lines, 1 files |
| 1.1 | 2014-07-13 00:45 UTC | MarcCoiffier | | +296/−53 lines, 6 filesdep +definitive-reactivedep +processdep ~definitive-basedep ~definitive-filesystemdep ~definitive-parser |
| 1.0 | 2014-03-18 21:53 UTC | MarcCoiffier | | +69/−0 lines, 4 filesdep +arraydep +basedep +bytestring |
Dependencies of Grow-1.1.0.3
array >=0.5 && <0.6 0.5.7.0 → 0.5.8.0
| 2024-09-08 07:13 UTC | 0.5.8.0 | +204/−8 lines, 6 filesdep ~basePVP ok |
| 2024-04-12 14:38 UTC | 0.5.7.0 | +34/−17 lines, 9 filesdep ~basePVP: major bump suggested |
| 2023-07-10 15:24 UTC | 0.5.6.0 | +159/−39 lines, 8 filesdep ~basenew-uploaderPVP ok |
| 2023-02-13 16:01 UTC | 0.5.5.0 | +8/−4 lines, 3 filesdep ~basenew-uploaderPVP ok |
| 2019-09-01 06:48 UTC | 0.5.4.0 | +33/−8 lines, 5 filesdep ~basesetup-changedPVP: major bump suggested |
showing 5 of 18 versions
base >=4.6 && <4.7 4.6.0.1 → 4.22.1.0 newer than bounds
| 2026-12-01 12:38 UTC | 4.22.1.0 newer than bounds | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 newer than bounds | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 newer than bounds | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 newer than bounds | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 newer than bounds | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
bytestring >=0.10 && <0.11 0.10.12.1 → 0.12.2.0 newer than bounds
| 2024-12-06 21:41 UTC | 0.12.2.0 newer than bounds | +538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok |
| 2024-02-16 03:27 UTC | 0.12.1.0 newer than bounds | +3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested |
| 2023-08-16 01:53 UTC | 0.12.0.2 newer than bounds | +16/−2 lines, 3 files |
| 2023-08-05 00:03 UTC | 0.12.0.1 newer than bounds | +47/−9 lines, 3 files |
| 2023-07-07 01:45 UTC | 0.12.0.0 newer than bounds | +1459/−520 lines, 21 filesdep +data-array-bytePVP ok |
showing 5 of 49 versions
clock >=0.4 && <0.5 0.4.6.0 → 0.8.4 newer than bounds
| 2023-07-17 10:33 UTC | 0.8.4 newer than bounds | +64/−22 lines, 3 filesPVP ok |
| 2022-02-09 03:52 UTC | 0.8.3 newer than bounds | +232/−38 lines, 5 filesdep −ghc-primdep ~basePVP ok |
| 2021-01-21 09:23 UTC | 0.8.2 newer than bounds | +43/−86 lines, 3 filesdep ~basePVP ok |
| 2019-04-30 07:15 UTC | 0.8 newer than bounds | +76/−48 lines, 5 filesdep +criteriondep ~basePVP ok |
| 2016-04-20 01:15 UTC | 0.7.2 newer than bounds | +23/−6 lines, 2 filesPVP: major bump suggested |
showing 5 of 28 versions
containers >=0.5 && <0.6 0.5.11.0 → 0.8.1 newer than bounds
| 2026-10-04 06:08 UTC | 0.8.1 newer than bounds | +8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested |
| 2025-03-01 13:03 UTC | 0.8 newer than bounds | +8447/−7031 lines, 37 filesnew-uploaderPVP ok |
| 2023-09-27 12:15 UTC | 0.7 newer than bounds | +76/−33 lines, 3 filesPVP ok |
| 2023-09-28 04:21 UTC | 0.6.8 newer than bounds | +644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested |
| 2023-02-01 03:11 UTC | 0.6.7 newer than bounds | +783/−229 lines, 20 filesPVP: major bump suggested |
showing 5 of 43 versions
deepseq >=1.3 && <1.4 1.3.0.2 → 1.6.0.0 newer than bounds
| 2024-09-08 16:18 UTC | 1.6.0.0 newer than bounds | +5/−14 lines, 3 filesdep ~basePVP ok |
| 2025-06-14 22:25 UTC | 1.5.2.0 newer than bounds | +13/−4 lines, 3 filesPVP: major bump suggested |
| 2024-09-09 12:48 UTC | 1.5.1.0 newer than bounds | +69/−14 lines, 3 filesdep −arraydep ~basePVP: major bump suggested |
| 2023-07-27 19:32 UTC | 1.5.0.0 newer than bounds | +619/−532 lines, 5 filesdep ~basePVP ok |
| 2022-12-18 00:14 UTC | 1.4.8.1 newer than bounds | +34/−9 lines, 3 filesdep ~basePVP: major bump suggested |
showing 5 of 26 versions
definitive-base >=1.2 && <1.3 1.2.1 → 2.3 newer than bounds
| 2014-11-11 21:38 UTC | 2.3 newer than bounds | +838/−245 lines, 25 filesdep +GLURawdep +OpenGLdep +OpenGLRawdep ~basePVP ok |
| 2014-07-13 10:51 UTC | 1.2.1 | +40/−53 lines, 2 filesPVP: major bump suggested |
| 2014-07-13 00:34 UTC | 1.2 | +493/−681 lines, 27 filesdep −clock |
| 2014-03-19 07:25 UTC | 1.0 outside bounds | +2553/−0 lines, 26 filesdep +arraydep +basedep +bytestring |
definitive-filesystem >=1.2 && <1.3 (empty) → 1.2
| 2014-07-13 00:37 UTC | 1.2 | +223/−0 lines, 3 filesdep +arraydep +basedep +bytestring |
definitive-parser >=1.2 && <1.3 1.2 → 2.1 newer than bounds
| 2014-11-11 21:37 UTC | 2.1 newer than bounds | +228/−106 lines, 7 filesdep +GLURawdep +OpenGLdep +OpenGLRawdep ~basedep ~definitive-basePVP ok |
| 2014-07-13 00:37 UTC | 1.2 | +333/−293 lines, 9 filesdep ~definitive-base |
| 2014-03-19 15:24 UTC | 1.0 outside bounds | +510/−0 lines, 6 filesdep +arraydep +basedep +bytestring |
definitive-reactive >=1.0 && <1.1 (empty) → 1.0
| 2014-07-13 00:36 UTC | 1.0 | +462/−0 lines, 5 filesdep +arraydep +basedep +bytestring |
directory >=1.2 && <1.3 1.2.7.1 → 1.3.11.0 newer than bounds
| 2026-05-27 05:59 UTC | 1.3.11.0 newer than bounds | +4560/−4504 lines, 25 filesdep ~file-iodep ~filepathdep ~os-stringPVP ok |
| 2026-01-05 11:08 UTC | 1.3.10.1 newer than bounds | +4989/−4830 lines, 43 filesPVP: major bump suggested |
| 2025-12-24 02:55 UTC | 1.3.10.0 newer than bounds | +90/−39 lines, 7 filesdep ~Win32dep ~basePVP: major bump suggested |
| 2024-10-11 10:43 UTC | 1.3.9.0 newer than bounds | +235/−158 lines, 14 filesdep +file-iodep ~basedep ~timePVP: major bump suggested |
| 2024-05-20 06:52 UTC | 1.3.8.5 newer than bounds | +15/−13 lines, 7 filesdep ~basePVP ok |
showing 5 of 55 versions
filepath >=1.3 && <1.4 1.3.0.2 → 1.5.5.0 newer than bounds
| 2026-01-20 08:14 UTC | 1.5.5.0 newer than bounds | +68/−12 lines, 8 filesdep +QuickCheckdep +template-haskell-liftdep +template-haskell-quasiquoterPVP ok |
| 2024-11-17 13:06 UTC | 1.5.4.0 newer than bounds | +26/−6 lines, 3 filesdep ~basePVP ok |
| 2024-06-29 15:30 UTC | 1.5.3.0 newer than bounds | +876/−871 lines, 13 filesdep −QuickCheckdep ~basePVP: major bump suggested |
| 2024-01-26 07:02 UTC | 1.5.2.0 newer than bounds | +330/−256 lines, 11 filesdep +generic-derivingdep +generic-randomdep +tastydep ~basedep ~os-stringPVP ok |
| 2023-11-25 08:29 UTC | 1.5.0.0 newer than bounds | +53/−3744 lines, 35 filesdep +os-stringdep ~basePVP ok |
showing 5 of 35 versions
old-locale >=1.0 && <1.1 1.0.0.6 → 1.0.0.7
| 2014-11-21 11:00 UTC | 1.0.0.7 | +11/−11 lines, 2 filesdep ~basePVP ok |
| 2014-03-22 08:55 UTC | 1.0.0.6 | +74/−29 lines, 3 filesdep ~basenew-uploaderPVP ok |
| 2012-09-06 18:08 UTC | 1.0.0.5 | +10/−10 lines, 1 filesPVP ok |
| 2012-02-02 23:16 UTC | 1.0.0.4 | +5/−1 lines, 2 filesPVP: major bump suggested |
| 2011-08-25 12:29 UTC | 1.0.0.3 | +3/−3 lines, 1 filesPVP ok |
showing 5 of 8 versions
primitive >=0.5 && <0.6 0.5.4.0 → 0.9.1.0 newer than bounds
| 2025-03-31 14:42 UTC | 0.9.1.0 newer than bounds | +225/−135 lines, 12 filesdep +containersdep −ghc-primdep ~basePVP: major bump suggested |
| 2023-10-05 15:07 UTC | 0.9.0.0 newer than bounds | +995/−657 lines, 17 filesdep ~QuickCheckdep ~basedep ~tastyPVP ok |
| 2023-02-20 16:20 UTC | 0.8.0.0 newer than bounds | +328/−248 lines, 9 filesdep +data-array-bytedep ~basedep ~deepseqPVP ok |
| 2022-05-20 18:46 UTC | 0.7.4.0 newer than bounds | +244/−146 lines, 10 filesdep +template-haskelldep −faildep −semigroupsdep ~basedep ~transformersPVP ok |
| 2021-10-27 19:26 UTC | 0.7.3.0 newer than bounds | +951/−947 lines, 25 filesdep +tasty-benchdep ~basedep ~deepseqdep ~transformerssetup-changedPVP: major bump suggested |
showing 5 of 30 versions
process >=1.2 && <1.3 1.2.3.0 → 1.6.30.0 newer than bounds
| 2026-06-11 10:14 UTC | 1.6.30.0 newer than bounds | +19/−1 lines, 2 filesPVP ok |
| 2026-05-24 11:03 UTC | 1.6.29.0 newer than bounds | +5282/−4831 lines, 7 filesdep ~basePVP ok |
| 2026-04-18 12:18 UTC | 1.6.28.0 newer than bounds | +70/−33 lines, 3 filesPVP ok |
| 2026-03-08 19:39 UTC | 1.6.27.0 newer than bounds | +3/−2 lines, 2 filesPVP ok |
| 2026-03-07 13:46 UTC | 1.6.26.2 newer than bounds | +4852/−5346 lines, 7 filesPVP ok |
showing 5 of 57 versions
time >=1.4 && <1.5 1.4.2 → 1.16.0.1 newer than bounds
| 2026-07-20 21:55 UTC | 1.16.0.1 newer than bounds | +1203/−148 lines, 25 filesPVP ok |
| 2026-05-03 08:43 UTC | 1.16 newer than bounds | +353/−64 lines, 29 filesdep +template-haskell-liftdep ~template-haskellPVP ok |
| 2025-08-04 16:22 UTC | 1.15 newer than bounds | +1407/−743 lines, 56 filesdep ~basedep ~deepseqdep ~template-haskellPVP ok |
| 2024-03-10 22:18 UTC | 1.14 newer than bounds | +6594/−5536 lines, 73 filesdep +template-haskelldep ~basePVP ok |
| 2021-10-18 05:36 UTC | 1.13 newer than bounds | +1279/−1589 lines, 59 filesdep ~basePVP ok |
showing 5 of 48 versions
unix >=2.7 && <2.8 2.7.3 → 2.8.8.0 newer than bounds
| 2025-09-23 08:10 UTC | 2.8.8.0 newer than bounds | +161/−207 lines, 6 filesdep ~basedep ~timePVP ok |
| 2025-05-10 14:12 UTC | 2.8.7.0 newer than bounds | +8400/−7941 lines, 12 filesdep ~basedep ~timePVP ok |
| 2024-11-19 15:41 UTC | 2.8.6.0 newer than bounds | +1133/−333 lines, 14 filesdep ~basedep ~timePVP: major bump suggested |
| 2024-04-08 19:21 UTC | 2.8.5.1 newer than bounds | +7507/−6738 lines, 5 filesdep ~basedep ~filepathdep ~os-stringPVP: major bump suggested |
| 2023-12-01 00:53 UTC | 2.8.5.0 newer than bounds | +55/−9 lines, 7 filesdep +os-stringdep ~filepathdep ~timePVP ok |
showing 5 of 34 versions
vector >=0.10 && <0.11 0.10.12.3 → 0.13.2.0 newer than bounds
| 2024-10-31 18:01 UTC | 0.13.2.0 newer than bounds | +5177/−672 lines, 53 filesdep −HUnitdep ~QuickCheckdep ~basedep ~doctestPVP: major bump suggested |
| 2023-10-07 13:35 UTC | 0.13.1.0 newer than bounds | +302/−238 lines, 22 filesdep ~QuickCheckdep ~basedep ~doctestnew-uploaderPVP: major bump suggested |
| 2022-06-19 19:35 UTC | 0.13.0.0 newer than bounds | +19079/−19259 lines, 70 filesdep +tasty-benchdep +tasty-inspection-testingdep +vector-streamdep −faildep −ghc-primdep −semigroupsdep ~basedep ~doctestdep ~primitivePVP ok |
| 2021-09-21 16:21 UTC | 0.12.3.1 newer than bounds | +265/−191 lines, 13 filesdep ~basedep ~deepseqdep ~doctestPVP ok |
| 2021-04-06 19:54 UTC | 0.12.3.0 newer than bounds | +1218/−39 lines, 11 filesdep ~basedep ~ghc-primPVP ok |
showing 5 of 43 versions
Reverse dependencies
1 packages depend on Grow