Commit 6482e6a9 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Add comments.

parent e8b62f7e
......@@ -20,6 +20,8 @@ data Context = Context
vanillaContext :: Stage -> Package -> Context
vanillaContext s p = Context s p vanilla
-- | Partial context with undefined 'Package' field. Useful for 'Packages'
-- expressions that only read the environment and current 'Stage'.
stageContext :: Stage -> Context
stageContext s = vanillaContext s $ error "stageContext: package not set"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment