Skip to content

Commit

Permalink
Version 0.5.0 (#1931)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
edwinb authored Sep 18, 2021
1 parent 22c1204 commit ada3eb4
Show file tree
Hide file tree
Showing 16 changed files with 10,138 additions and 8,440 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [Next version]
## v0.5.0

### Language changes

Expand All @@ -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
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ TARGET = ${TARGETDIR}/${NAME}
IDRIS2_CG ?= chez

MAJOR=0
MINOR=4
MINOR=5
PATCH=0

GIT_SHA1=
Expand Down
9,291 changes: 5,071 additions & 4,220 deletions bootstrap/idris2_app/idris2.rkt

Large diffs are not rendered by default.

9,251 changes: 5,049 additions & 4,202 deletions bootstrap/idris2_app/idris2.ss

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/source/listing/idris-prompt-helloworld.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$ idris2 hello.idr
____ __ _ ___
/ _/___/ /____(_)____ |__ \
/ // __ / ___/ / ___/ __/ / Version 0.4.0
/ // __ / ___/ / ___/ __/ / Version 0.5.0
_/ // /_/ / / / (__ ) / __/ https://www.idris-lang.org
/___/\__,_/_/ /_/____/ /____/ Type :? for help

Expand Down
2 changes: 1 addition & 1 deletion docs/source/listing/idris-prompt-interp.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$ idris2 interp.idr
____ __ _ ___
/ _/___/ /____(_)____ |__ \
/ // __ / ___/ / ___/ __/ / Version 0.4.0
/ // __ / ___/ / ___/ __/ / Version 0.5.0
_/ // /_/ / / / (__ ) / __/ https://www.idris-lang.org
/___/\__,_/_/ /_/____/ /____/ Type :? for help

Expand Down
2 changes: 1 addition & 1 deletion docs/source/listing/idris-prompt-start.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$ idris2
____ __ _ ___
/ _/___/ /____(_)____ |__ \
/ // __ / ___/ / ___/ __/ / Version 0.4.0
/ // __ / ___/ / ___/ __/ / Version 0.5.0
_/ // /_/ / / / (__ ) / __/ https://www.idris-lang.org
/___/\__,_/_/ /_/____/ /____/ Type :? for help

Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion idris2api.ipkg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package idris2
version = 0.4.0
version = 0.5.0

modules =
Algebra,
Expand Down
2 changes: 1 addition & 1 deletion libs/base/base.ipkg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package base
version = 0.4.0
version = 0.5.0

opts = "--ignore-missing-ipkg -Wno-shadowing"

Expand Down
2 changes: 1 addition & 1 deletion libs/contrib/contrib.ipkg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package contrib
version = 0.4.0
version = 0.5.0

opts = "--ignore-missing-ipkg -Wno-shadowing"

Expand Down
2 changes: 1 addition & 1 deletion libs/network/network.ipkg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package network
version = 0.4.0
version = 0.5.0

opts = "--ignore-missing-ipkg -p contrib"

Expand Down
2 changes: 1 addition & 1 deletion libs/prelude/prelude.ipkg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package prelude
version = 0.4.0
version = 0.5.0

opts = "--ignore-missing-ipkg --no-prelude"

Expand Down
2 changes: 1 addition & 1 deletion libs/test/test.ipkg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package test
version = 0.4.0
version = 0.5.0

depends = contrib

Expand Down
2 changes: 1 addition & 1 deletion src/Core/Context.idr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/idris2/pkg010/expected.in
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ada3eb4

Please sign in to comment.