Version 0.5.0 (#1931)

* Update version numbers and bootstrap scheme

* Use wall clock time for search timeouts

That was always the intention in any case, rather than the process time.
This commit is contained in:
Edwin Brady 2021-09-18 16:07:34 +01:00 committed by GitHub
parent 22c12046df
commit ada3eb4449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 10190 additions and 8492 deletions

View File

@ -1,6 +1,6 @@
# Changelog
## [Next version]
## v0.5.0
### Language changes
@ -11,11 +11,11 @@
`where` clauses
* The syntax for Name reflection has changed, and now requires a single brace
instead of a double brace, e.g. `` `{x} ``
* Raw string literals allows to write string while customising the escape
* Raw string literals allows writing string while customising the escape
sequence. Start a string with `#"` in order to change the escape characters
to `\#`, close the string with `"#`. Remains compatible with multiline
string literals.
* Interpolated strings allows to insert expressions within string literals
* Interpolated strings allows inserting expressions within string literals
and avoid writing concatenation explicitly. Escape a left curly brace `\{`
to start an interpolation slice and close it with a right curly brace `}` to
resume writing the string literal. The enclosed expression must be of type
@ -59,7 +59,7 @@ filter p (x :: xs) with (p x)
all libraries you plan to link with an incremental build.
- Note also that this is experimental and not yet well tested!
* The type checker now tries a lot harder to avoid reducing expressions where
it is not needed. This gives a huge performance improvement in programs
it is not needed. This can give a huge performance improvement in programs
that potentially do a lot of compile time evaluation. However, sometimes
reducing expressions can help in totality and quantity checking, so this may
cause some programs not to type check which previously did - in these cases,

View File

@ -13,7 +13,7 @@ TARGET = ${TARGETDIR}/${NAME}
IDRIS2_CG ?= chez
MAJOR=0
MINOR=4
MINOR=5
PATCH=0
GIT_SHA1=

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
$ idris2 hello.idr
____ __ _ ___
/ _/___/ /____(_)____ |__ \
/ // __ / ___/ / ___/ __/ / Version 0.4.0
/ // __ / ___/ / ___/ __/ / Version 0.5.0
_/ // /_/ / / / (__ ) / __/ https://www.idris-lang.org
/___/\__,_/_/ /_/____/ /____/ Type :? for help

View File

@ -1,7 +1,7 @@
$ idris2 interp.idr
____ __ _ ___
/ _/___/ /____(_)____ |__ \
/ // __ / ___/ / ___/ __/ / Version 0.4.0
/ // __ / ___/ / ___/ __/ / Version 0.5.0
_/ // /_/ / / / (__ ) / __/ https://www.idris-lang.org
/___/\__,_/_/ /_/____/ /____/ Type :? for help

View File

@ -1,7 +1,7 @@
$ idris2
____ __ _ ___
/ _/___/ /____(_)____ |__ \
/ // __ / ___/ / ___/ __/ / Version 0.4.0
/ // __ / ___/ / ___/ __/ / Version 0.5.0
_/ // /_/ / / / (__ ) / __/ https://www.idris-lang.org
/___/\__,_/_/ /_/____/ /____/ Type :? for help

View File

@ -11,7 +11,7 @@
outputs = { self, nixpkgs, nixpkgs-chez-racket, flake-utils, idris-emacs-src }:
let
idris2-version = "0.4.0";
idris2-version = "0.5.0";
lib = import ./nix/lib.nix;
sys-agnostic = rec {
templates.pkg = {

View File

@ -1,5 +1,5 @@
package idris2
version = 0.4.0
version = 0.5.0
modules =
Algebra,

View File

@ -1,5 +1,5 @@
package base
version = 0.4.0
version = 0.5.0
opts = "--ignore-missing-ipkg -Wno-shadowing"

View File

@ -1,5 +1,5 @@
package contrib
version = 0.4.0
version = 0.5.0
opts = "--ignore-missing-ipkg -Wno-shadowing"

View File

@ -1,5 +1,5 @@
package network
version = 0.4.0
version = 0.5.0
opts = "--ignore-missing-ipkg -p contrib"

View File

@ -1,5 +1,5 @@
package prelude
version = 0.4.0
version = 0.5.0
opts = "--ignore-missing-ipkg --no-prelude"

View File

@ -1,5 +1,5 @@
package test
version = 0.4.0
version = 0.5.0
depends = contrib

View File

@ -2231,7 +2231,7 @@ recordWarning w
export
getTime : Core Integer
getTime
= do clock <- coreLift (clockTime Process)
= do clock <- coreLift (clockTime Monotonic)
pure (seconds clock * nano + nanoseconds clock)
where
nano : Integer

View File

@ -1,3 +1,3 @@
1/1: Building Main (Main.idr)
Installing __PWD__build/ttc/Main.ttc to __PWD__currently/nonexistent/dir/idris2-0.4.0/testpkg-0
Installing __PWD__build/ttc/Main.ttc to __PWD__currently/nonexistent/dir/idris2-0.4.0/testpkg-0
Installing __PWD__build/ttc/Main.ttc to __PWD__currently/nonexistent/dir/idris2-0.5.0/testpkg-0
Installing __PWD__build/ttc/Main.ttc to __PWD__currently/nonexistent/dir/idris2-0.5.0/testpkg-0