Skip to content

Commit c4a8460

Browse files
committed
Merge branch 'master' into 2264
2 parents b6cc76b + deba447 commit c4a8460

File tree

143 files changed

+14837
-2321
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+14837
-2321
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
Fixes #nnnn
12

23
---
34

4-
###### Reviewer checklist
5+
###### Review checklist
56

6-
- [ ] Test coverage: `stack test --coverage`
7-
- [ ] Public API documentation: `stack haddock`
7+
The author performs the actions on the checklist. The reviewer evaluates the work and checks the boxes as they are completed.
8+
9+
- [ ] **Summary.** Write a summary of the changes. Explain what you did to fix the issue, and why you did it. Present the changes in a logical order. Instead of writing a summary in the pull request, you may push a clean Git history.
10+
- [ ] **Documentation.** Write documentation for new functions. Update documentation for functions that changed, or complete documentation where it is missing.
11+
- [ ] **Tests.** Write unit tests for every change. Write the unit tests that were missing before the changes. Include any examples from the reported issue as integration tests.
12+
- [ ] **Clean up.** The changes are already clean. Clean up anything near the changes that you noticed while working. This does not mean only spatially near the changes, but logically near: any code that interacts with the changes!

.github/workflows/test.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44
push:
55
jobs:
6-
tests:
6+
test-nix:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/[email protected]
@@ -16,3 +16,28 @@ jobs:
1616
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
1717
- run: nix-build -A kore -A project.kore.checks
1818
- run: nix-shell --run "echo OK"
19+
20+
test-cabal:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/[email protected]
24+
with:
25+
submodules: recursive
26+
27+
- uses: actions/[email protected]
28+
id: setup-haskell-cabal
29+
with:
30+
ghc-version: "8.10.1"
31+
cabal-version: "3.2"
32+
33+
- name: Cache Cabal store
34+
uses: actions/cache@v2
35+
with:
36+
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
37+
key: ${{ runner.os }}-ghc-8.10.1-${{ hashFiles('cabal.project.freeze') }}
38+
39+
- name: Build project
40+
run: cabal v2-build --enable-tests --enable-benchmarks all
41+
42+
- name: Configure with profiling
43+
run: cabal v2-configure --enable-profiling -f-threaded

cabal.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,20 @@ package *
1111
package kore
1212
ghc-options: -Wall -Werror
1313
ghc-options: -fprof-auto-top
14+
15+
source-repository-package
16+
type: git
17+
location: https://github.com/ttuegel/pipes-sqlite-simple.git
18+
tag: a3920f053f92e76f2a7ff7c68e34f9e926817702
19+
20+
source-repository-package
21+
type: git
22+
location: https://github.com/ttuegel/pipes-ghc-events.git
23+
tag: 780b479300bd165f58b3bdd5f941ea81844fc937
24+
subdir: eventlog2speedscope
25+
26+
source-repository-package
27+
type: git
28+
location: https://github.com/ttuegel/pipes-ghc-events.git
29+
tag: 780b479300bd165f58b3bdd5f941ea81844fc937
30+
subdir: pipes-ghc-events

cabal.project.freeze

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
constraints: any.Glob ==0.10.1,
2+
any.Only ==0.1,
3+
any.QuickCheck ==2.13.2,
4+
any.StateVar ==1.2,
5+
any.adjunctions ==4.4,
6+
any.aeson ==1.5.4.0,
7+
aeson -bytestring-builder -cffi -developer -fast,
8+
any.ansi-terminal ==0.10.3,
9+
any.ansi-wl-pprint ==0.6.9,
10+
any.array ==0.5.4.0,
11+
any.assoc ==1.0.1,
12+
any.async ==2.2.2,
13+
any.attoparsec ==0.13.2.4,
14+
any.base ==4.14.0.0,
15+
any.base-compat ==0.11.1,
16+
any.base-compat-batteries ==0.11.1,
17+
any.base-orphans ==0.8.2,
18+
any.basement ==0.0.11,
19+
any.bifunctors ==5.5.7,
20+
any.binary ==0.8.8.0,
21+
any.blaze-builder ==0.4.1.0,
22+
any.blaze-html ==0.9.1.2,
23+
any.blaze-markup ==0.8.2.7,
24+
any.blaze-textual ==0.2.1.0,
25+
any.bytestring ==0.10.10.0,
26+
any.call-stack ==0.2.0,
27+
any.case-insensitive ==1.2.1.0,
28+
any.chronos ==1.1.1,
29+
any.clock ==0.8,
30+
any.co-log ==0.4.0.1,
31+
any.co-log-core ==0.2.1.1,
32+
any.colour ==2.3.5,
33+
any.comonad ==5.0.6,
34+
any.concurrent-output ==1.10.12,
35+
any.conduit ==1.3.2,
36+
any.conduit-extra ==1.3.5,
37+
any.constraints ==0.12,
38+
any.containers ==0.6.2.1,
39+
any.contravariant ==1.5.2,
40+
any.cryptonite ==0.26,
41+
any.data-default ==0.7.1.1,
42+
any.data-default-class ==0.1.2.0,
43+
any.data-default-instances-containers ==0.0.1,
44+
any.data-default-instances-dlist ==0.0.1,
45+
any.data-default-instances-old-locale ==0.0.1,
46+
any.data-fix ==0.3.0,
47+
any.deepseq ==1.4.4.0,
48+
any.direct-sqlite ==2.3.26,
49+
any.directory ==1.3.6.0,
50+
any.distributive ==0.6.2,
51+
any.dlist ==0.8.0.8,
52+
any.erf ==2.0.0.0,
53+
any.errors ==2.3.0,
54+
any.exceptions ==0.10.4,
55+
any.extra ==1.7.4,
56+
any.fail ==4.9.0.0,
57+
any.fgl ==5.7.0.2,
58+
any.filepath ==1.4.2.1,
59+
any.free ==5.1.3,
60+
any.generic-lens ==2.0.0.0,
61+
any.generic-lens-core ==2.0.0.0,
62+
any.generics-sop ==0.5.1.0,
63+
any.ghc-boot-th ==8.10.1,
64+
any.ghc-events ==0.13.0,
65+
any.ghc-prim ==0.6.1,
66+
any.ghc-trace-events ==0.1.2.1,
67+
any.gitrev ==1.3.1,
68+
any.graphviz ==2999.20.0.4,
69+
any.groom ==0.1.2.1,
70+
any.hashable ==1.3.0.0,
71+
any.haskeline ==0.8.0.0,
72+
any.haskell-lexer ==1.1,
73+
any.haskell-src-exts ==1.23.1,
74+
any.hedgehog ==1.0.3,
75+
any.indexed-profunctors ==0.1,
76+
any.integer-gmp ==1.0.3.0,
77+
any.integer-logarithms ==1.0.3,
78+
any.invariant ==0.5.3,
79+
any.junit-xml ==0.1.0.0,
80+
any.kan-extensions ==5.2,
81+
any.lens ==4.19.2,
82+
any.lifted-async ==0.10.1.1,
83+
any.lifted-base ==0.2.3.12,
84+
any.logict ==0.7.0.2,
85+
any.markdown-unlit ==0.5.0,
86+
any.megaparsec ==8.0.0,
87+
any.memory ==0.15.0,
88+
any.mmorph ==1.1.3,
89+
any.monad-control ==1.0.2.3,
90+
any.mono-traversable ==1.0.15.1,
91+
any.mtl ==2.2.2,
92+
any.network ==3.1.1.1,
93+
any.old-locale ==1.0.0.7,
94+
any.old-time ==1.1.0.3,
95+
any.optparse-applicative ==0.15.1.0,
96+
any.parallel ==3.2.2.0,
97+
any.parser-combinators ==1.2.1,
98+
any.pipes ==4.3.13,
99+
any.pipes-aeson ==0.4.1.8,
100+
any.pipes-attoparsec ==0.5.1.5,
101+
any.pipes-bytestring ==2.1.6,
102+
any.pipes-group ==1.0.12,
103+
any.pipes-parse ==3.0.8,
104+
any.pipes-safe ==2.3.2,
105+
any.polyparse ==1.13,
106+
any.pretty ==1.1.3.6,
107+
any.pretty-show ==1.10,
108+
any.prettyprinter ==1.6.2,
109+
any.primitive ==0.7.0.1,
110+
any.process ==1.6.8.2,
111+
any.profunctors ==5.5.2,
112+
any.quickcheck-instances ==0.3.23,
113+
any.random ==1.1,
114+
any.recursion-schemes ==5.1.3,
115+
any.reflection ==2.1.6,
116+
any.resourcet ==1.2.4.2,
117+
any.rts ==1.0,
118+
any.safe ==0.3.19,
119+
any.safe-exceptions ==0.1.7.0,
120+
any.scientific ==0.3.6.2,
121+
any.semialign ==1.1.0.1,
122+
any.semigroupoids ==5.3.4,
123+
any.semigroups ==0.19.1,
124+
any.sop-core ==0.5.0.1,
125+
any.split ==0.2.3.4,
126+
any.splitmix ==0.0.5,
127+
any.sqlite-simple ==0.4.18.0,
128+
any.stm ==2.5.0.0,
129+
any.streaming-commons ==0.2.1.2,
130+
any.streams ==3.3,
131+
any.strict ==0.4,
132+
strict +assoc,
133+
any.stringsearch ==0.3.6.6,
134+
any.tagged ==0.8.6,
135+
any.tar ==0.5.1.1,
136+
any.tasty ==1.2.3,
137+
any.tasty-discover ==4.2.1,
138+
any.tasty-golden ==2.3.3.2,
139+
any.tasty-hedgehog ==1.0.0.2,
140+
any.tasty-hunit ==0.10.0.2,
141+
any.tasty-quickcheck ==0.10.1.1,
142+
any.tasty-test-reporter ==0.1.1.1,
143+
any.template-haskell ==2.16.0.0,
144+
any.temporary ==1.3,
145+
any.terminal-size ==0.3.2.1,
146+
any.terminfo ==0.4.1.4,
147+
any.text ==1.2.3.2,
148+
any.th-abstraction ==0.3.2.0,
149+
any.these ==1.1.1.1,
150+
any.time ==1.9.3,
151+
any.time-compat ==1.9.3,
152+
any.torsor ==0.1,
153+
any.transformers ==0.5.6.2,
154+
any.transformers-base ==0.4.5.2,
155+
any.transformers-compat ==0.6.5,
156+
any.type-equality ==1,
157+
any.typed-process ==0.2.6.0,
158+
any.typerep-map ==0.3.3.0,
159+
any.unbounded-delays ==0.1.1.0,
160+
any.unix ==2.7.2.2,
161+
any.unliftio-core ==0.2.0.1,
162+
any.unordered-containers ==0.2.11.0,
163+
any.uuid-types ==1.0.3,
164+
any.vector ==0.12.1.2,
165+
any.vector-algorithms ==0.8.0.3,
166+
any.void ==0.7.3,
167+
any.wcwidth ==0.0.2,
168+
any.witherable ==0.3.1,
169+
any.wl-pprint-annotated ==0.1.0.1,
170+
any.wl-pprint-text ==1.2.0.1,
171+
any.xml-conduit ==1.9.0.0,
172+
any.xml-types ==0.3.8,
173+
any.zlib ==0.6.2.1

deps/k_release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v5.0.0-d0aa149
1+
v5.0.0-20ab646

docs/hooks.md

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -676,10 +676,8 @@ of the list and negative indices count from the end. The first element is
676676

677677
### LIST.update
678678

679-
Update an element from the list by index. Positive indices count from the
680-
beginning of the list and negative indices count from the end. The first element
681-
is `\dv{Int{}}("0")` and the last element is `\dv{Int{}}("-1")`. The result is
682-
`\bottom{}()` if the index is out-of-bounds.
679+
Update an element from the list by index. The first element is `\dv{Int{}}("0")`.
680+
The result is `\bottom{}()` if the index is out-of-bounds.
683681

684682
~~~
685683
hooked-symbol update{}(List{}, Int{}, Elem{}) : List{}
@@ -704,6 +702,31 @@ The number of elements in the given list.
704702
[hook{}("LIST.size")]
705703
~~~
706704

705+
### LIST.make
706+
707+
`LIST.make(n, x)` is a list of length `n` with `x` the value of every element.
708+
The result is `bottom` if n is negative.
709+
710+
~~~
711+
hooked-symbol make{}(Int{}, Elem{}) : List{}
712+
[hook{}("LIST.make")]
713+
~~~
714+
715+
## LIST.updateAll
716+
717+
`LIST.updateAll(L1, index, L2)` creates a new list using a list `L2` of size `N`
718+
where the `N` elements of `L1` starting at `index` are replaced with the
719+
contents of `L2`.
720+
The result is `\bottom` in these cases:
721+
722+
- `index` is negative
723+
- `L2` is non-empty and `index + N` exeeds the length of `L1`
724+
725+
~~~
726+
hooked-symbol updateAll{}(List{}, Int{}, List{}) : List{}
727+
[hook{}("LIST.updateAll")]
728+
~~~
729+
707730
## SET
708731

709732
Depends on `BOOL`.
170 KB
Binary file not shown.

0 commit comments

Comments
 (0)