Skip to content

Commit

Permalink
Quote 'maybe' type
Browse files Browse the repository at this point in the history
  • Loading branch information
ieQu1 committed May 5, 2024
1 parent bea3f11 commit de802f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
otp: [25.2, 21.3.8.21]
otp: [27.0, 21.3.8.21]
container:
image: erlang:${{ matrix.otp }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Compile and run tests
run: make
- name: Test with concuerror
Expand Down
4 changes: 2 additions & 2 deletions src/snabbkaffe.erl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
-type maybe_pair() :: {pair, timed_event(), timed_event()}
| {unmatched_cause | unmatched_effect, timed_event()}.

-type maybe(A) :: {just, A} | nothing.
-type 'maybe'(A) :: {just, A} | nothing.

-type run_config() ::
#{ bucket => integer()
Expand All @@ -123,7 +123,7 @@
| [trace_spec(Result) | {string(), trace_spec(Result)}].

-export_type([ kind/0, timestamp/0, event/0, timed_event/0, trace/0
, maybe_pair/0, maybe/1, metric/0, run_config/0, predicate/0
, maybe_pair/0, 'maybe'/1, metric/0, run_config/0, predicate/0
, predicate2/0, trace_spec/1, trace_specs/1, filter/0
]).

Expand Down

0 comments on commit de802f3

Please sign in to comment.