Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dunai to 0.11 #228

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions rhine/rhine.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ library

-- Other library packages from which modules are imported.
build-depends: base >= 4.14 && < 4.18
, dunai >= 0.8
, dunai >= 0.11
, transformers >= 0.5
, time >= 1.8
, free >= 5.1
Expand All @@ -114,8 +114,7 @@ library
, deepseq >= 1.4
, random >= 1.1
, MonadRandom >= 0.5
-- Remove version pin when https://github.com/ivanperez-keera/dunai/issues/298 is resolved:
, simple-affine-space == 0.1.1
, simple-affine-space >= 0.2
, time-domain

-- Directories containing source files.
Expand Down
9 changes: 9 additions & 0 deletions rhine/src/FRP/Rhine/ClSF/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import Control.Monad.Trans.Reader (ask, asks)

-- dunai
import Control.Monad.Trans.MSF.Reader (readerS)
import Data.MonadicStreamFunction.Instances.Num ()
import Data.MonadicStreamFunction.Instances.VectorSpace ()

-- simple-affine-space
Expand Down Expand Up @@ -197,6 +198,7 @@ threePointDerivativeFrom ::
( Monad m
, VectorSpace v s
, s ~ Diff td
, Num s
) =>
-- | The initial position
v ->
Expand All @@ -213,6 +215,7 @@ threePointDerivative ::
( Monad m
, VectorSpace v s
, s ~ Diff td
, Num s
) =>
BehaviorF m td v v
threePointDerivative = threePointDerivativeFrom zeroVector
Expand All @@ -231,6 +234,7 @@ weightedAverageFrom ::
( Monad m
, VectorSpace v s
, s ~ Diff td
, Num s
) =>
-- | The initial position
v ->
Expand Down Expand Up @@ -283,6 +287,7 @@ averageLinFrom ::
( Monad m
, VectorSpace v s
, s ~ Diff td
, Fractional s
) =>
-- | The initial position
v ->
Expand All @@ -300,6 +305,7 @@ averageLin ::
( Monad m
, VectorSpace v s
, s ~ Diff td
, Fractional s
) =>
-- | The time scale on which the signal is averaged
Diff td ->
Expand All @@ -325,6 +331,7 @@ highPass ::
, VectorSpace v s
, Floating s
, s ~ Diff td
, Eq s
) =>
-- | The time constant @t@
Diff td ->
Expand All @@ -337,6 +344,7 @@ bandPass ::
, VectorSpace v s
, Floating s
, s ~ Diff td
, Eq s
) =>
-- | The time constant @t@
Diff td ->
Expand All @@ -347,6 +355,7 @@ bandPass t = lowPass t >>> highPass t
bandStop ::
( Monad m
, VectorSpace v s
, Eq s
, Floating s
, s ~ Diff td
) =>
Expand Down
3 changes: 3 additions & 0 deletions rhine/src/FRP/Rhine/ResamplingBuffer/Interpolation.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ linear ::
, VectorSpace v s
, s ~ Diff (Time cl1)
, s ~ Diff (Time cl2)
, Num s
) =>
-- | The initial velocity (derivative of the signal)
v ->
Expand Down Expand Up @@ -95,6 +96,8 @@ cubic ::
, Eq v
, s ~ Diff (Time cl1)
, s ~ Diff (Time cl2)
, Num s
, Fractional s
) =>
ResamplingBuffer m cl1 cl2 v v
{- FOURMOLU_DISABLE -}
Expand Down
3 changes: 2 additions & 1 deletion stack.8.10.7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ packages:

extra-deps:
- brick-1.6@sha256:4a94b18be68d2d27da9e84eff7f8b4dc8bfa3a40d28d536fb737828d73a0e3eb,18899
- dunai-0.9.2@sha256:8f289fdaac0da709a6d9a0408f68da69f53b21707a9b5b1921ba75846399a40b,6384
- dunai-0.11.0@sha256:fc82a2ac6e2f7efcc2cd7f01412544ebe10d25143febdb0c3ebfb090220f4660,6372
- simple-affine-space-0.2.1@sha256:bc9b1f5ae236b2898cd6f20da2d4589fd662fac2e2057f29b01330f65c030434,2046
- histogram-fill-0.9.1.0@sha256:e6233fe467a5a68a2f913e8b31a78e2db81de5c1a8f282be77757ccc040305a8,1928
- terminal-0.2.0.0@sha256:de6770ecaae3197c66ac1f0db5a80cf5a5b1d3b64a66a05b50f442de5ad39570,2977
- time-domain-0.1.0.1@sha256:d56e0e8033c12128bf76517433bc146ea8720e1e2a119dbc9723598cfa6cc0a9,999
Expand Down
2 changes: 2 additions & 0 deletions stack.9.0.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ extra-deps:
- bimap-0.5.0@sha256:aba506d02a1c93fc2b50dcbe728d2a4d07cca89b7033945418061a0b08576ebd,1889
- text-zipper-0.12@sha256:e96110598fc25e57a99ffcd8e583351af8b325b813aa5e3bd0adc627e3e02b6b,1472
- vty-5.38@sha256:c3b46c8072f92b61dad09dac45ede37f1a093836e14ac84ece6515a4d3222864,5628
- dunai-0.11.0@sha256:fc82a2ac6e2f7efcc2cd7f01412544ebe10d25143febdb0c3ebfb090220f4660,6372
- simple-affine-space-0.2.1@sha256:bc9b1f5ae236b2898cd6f20da2d4589fd662fac2e2057f29b01330f65c030434,2046

nix:
packages:
Expand Down
2 changes: 2 additions & 0 deletions stack.9.2.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ packages:
extra-deps:
- terminal-0.2.0.0@sha256:de6770ecaae3197c66ac1f0db5a80cf5a5b1d3b64a66a05b50f442de5ad39570,2977
- monad-bayes-1.1.0@sha256:8929887b2883e553b928dcc9b1326171c87b6aa26f11800dc8c55b119a9e9649,6123
- dunai-0.11.0@sha256:fc82a2ac6e2f7efcc2cd7f01412544ebe10d25143febdb0c3ebfb090220f4660,6372
- simple-affine-space-0.2.1@sha256:bc9b1f5ae236b2898cd6f20da2d4589fd662fac2e2057f29b01330f65c030434,2046

nix:
packages:
Expand Down