Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrisby committed Mar 27, 2023
1 parent 1005d29 commit 5ba7d80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -169,7 +169,7 @@ pattern Contains x y <- UnsafeContains x y
{-# COMPLETE Contains #-}

forgetWindow :: Contains elem outer inner -> Some.Forgotten (Index outer elem, Index outer elem)
forgetWindow win = Some.forgotten $ (windowStart win, windowLast win)
forgetWindow win = Some.forgotten (windowStart win, windowLast win)

frWin :: Contains elem outer inner -> Index inner elem -> Index outer elem
frWin (Contains (Count i) _n) (Count j) = Count (i .+ j)
Expand Down
Expand Up @@ -79,7 +79,7 @@ genAsc :: R.RandomGen g => Asc -> g -> (S, g)
genAsc asc g =
bool `seq` (S bool, g')
where
(q, g') = R.random g -- note 0 <= q <- 1
(q, g') = R.random g -- note 0 <= q <= 1

bool = q < ascVal asc

Expand Down

0 comments on commit 5ba7d80

Please sign in to comment.