on master help sign in
Logging Categories: Fixed typo, and updated changelog.
commit9255de5d49e4909a3654160f7ea869f8cf5672d5 authorJan de Muijnck-Hughes <jfdm@st-andrews.ac.uk> dateSat 19 Dec 2015, 10:00 (11 years ago) parent39a8c78
3 files changed+15−4
CHANGELOG+13−2 src/Idris/CmdOptions.hs+1−1 src/Idris/REPLParser.hs+1−1
CHANGELOG+13−2
@@ -1,3 +1,14 @@
1+New in 0.9.21:
2+==============
3+
4+* Idris' logging infrastructure has been categorised. Command line and repl
5+ are available. For command line the option `--logging-categories CATS`
6+ is used to pass in the categories. Here `CATS` is a colon separated quoted
7+ string containing the categories to log. The REPL command is `logcats CATS`.
8+ Where `CATS` is a whitespace separated list of categoriese. Default is for
9+ all categories to be logged.
10+
11+
112New in 0.9.20:
213==============
314
@@ -19,7 +30,7 @@ Language updates
1930* Name binding in patterns follows the same rule as name binding for implicits
2031 in types: names which begin with lower case letters, not applied to any
2132 arguments, are treated as bound pattern variables.
22−* Added %deprecate directive, which gives a warning and a message when a
33+* Added %deprecate directive, which gives a warning and a message when a
2334 deprecated name is referenced.
2435
2536Library updates
@@ -39,7 +50,7 @@ Library updates
3950 from Effectful programs.
4051* Some constructors that never actually occurred have been removed from
4152 the TT and Raw reflection datatypes in Language.Reflection.
42−* File IO operations (for example openFile/fread/fwrite) now return
53+* File IO operations (for example openFile/fread/fwrite) now return
4354 'Either FileError ty' where the return type was previously 'ty' to indicate
4455 that they may fail.
4556
src/Idris/CmdOptions.hs+1−1
@@ -89,7 +89,7 @@ parseFlags = many $
8989 <|> (OLogCats <$> option (str >>= parseLogCats)
9090 (long "logging-categories"
9191 <> metavar "CATS"
92− <> help "Colon separated logging categories: parser, elab, codegen"))
92+ <> help "Colon separated logging categories: parser, elab, codegen, coverage, erasure"))
9393
9494 -- Turn off Certain libraries.
9595 <|> flag' NoBasePkgs (long "nobasepkgs" <> help "Do not use the given base package")
src/Idris/REPLParser.hs+1−1
@@ -138,7 +138,7 @@ parserCommands =
138138 ":mc <line> <name> adds a case block for the definition of the metavariable on the line"
139139 , proofArgCmd ["ml", "makelemma"] MakeLemma "?"
140140 , (["log"], NumberArg, "Set logging verbosity level", cmd_log)
141− , ( ["logacts"]
141+ , ( ["logcats"]
142142 , ManyArgs NameArg
143143 , "Set logging categories"
144144 , cmd_cats)