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

essence-of-live-coding-frp: Continuous time FRP with eolc #102

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
enable-stack: true
stack-version: '2.7'
- name: Install dependencies
run: sudo apt-get install -y libxml2-utils libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libpulse-dev libblas-dev liblapack-dev libasound2-dev
run: |
sudo apt-get update
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good idea independently of this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is needed independently of this PR. Without it it can't install the linux packages because the server addresses have changed or something like that.

sudo apt-get install -y libxml2-utils libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libpulse-dev libblas-dev liblapack-dev libasound2-dev
- name: Cabal update
run: cabal update
- name: Cache Cabal build artifacts
Expand Down
31 changes: 18 additions & 13 deletions cabal.project.8.10.7.freeze
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ constraints: any.GLURaw ==2.0.0.5,
any.HUnit ==1.6.2.0,
any.MonadRandom ==0.5.3,
any.ObjectName ==1.1.0.2,
any.OneTuple ==0.3.1,
any.Only ==0.1,
any.OpenGL ==3.0.3.0,
any.OpenGLRaw ==3.3.4.1,
Expand All @@ -25,6 +26,7 @@ constraints: any.GLURaw ==2.0.0.5,
ansi-wl-pprint -example,
any.appar ==0.1.8,
any.array ==0.5.4.0,
any.arrow-utils ==0.1.1,
any.asn1-encoding ==0.9.6,
any.asn1-parse ==0.9.5,
any.asn1-types ==0.3.4,
Expand All @@ -36,7 +38,7 @@ constraints: any.GLURaw ==2.0.0.5,
any.base ==4.14.3.0,
any.base-orphans ==0.8.6,
any.base64-bytestring ==1.2.1.0,
any.basement ==0.0.12,
any.basement ==0.0.14,
any.bifunctors ==5.5.11,
bifunctors +semigroups +tagged,
any.binary ==0.8.8.0,
Expand All @@ -51,6 +53,8 @@ constraints: any.GLURaw ==2.0.0.5,
any.case-insensitive ==1.2.1.0,
any.cereal ==0.5.8.2,
cereal -bytestring-builder,
any.clock ==0.8.3,
clock -llvm,
any.colour ==2.3.6,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
Expand Down Expand Up @@ -89,11 +93,11 @@ constraints: any.GLURaw ==2.0.0.5,
any.hourglass ==0.2.12,
any.hsc2hs ==0.68.8,
hsc2hs -in-ghc-tree,
any.http-client ==0.7.9,
any.http-client ==0.7.11,
http-client +network-uri,
any.http-date ==0.0.11,
any.http-types ==0.12.3,
any.http2 ==3.0.2,
any.http2 ==3.0.3,
http2 -devel -doc -h2spec,
any.ieee754 ==0.8.0,
any.indexed-list-literals ==0.2.1.3,
Expand All @@ -102,14 +106,14 @@ constraints: any.GLURaw ==2.0.0.5,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.iproute ==1.7.12,
any.memory ==0.16.0,
memory +support_basement +support_bytestring +support_deepseq +support_foundation,
any.memory ==0.17.0,
memory +support_bytestring +support_deepseq,
any.mime-types ==0.1.0.9,
any.mmorph ==1.2.0,
any.mtl ==2.2.2,
any.nats ==1.1.2,
nats +binary +hashable +template-haskell,
any.network ==3.1.2.5,
any.network ==3.1.2.7,
network -devel,
any.network-byte-order ==0.1.6,
any.network-uri ==2.6.4.1,
Expand Down Expand Up @@ -146,7 +150,7 @@ constraints: any.GLURaw ==2.0.0.5,
splitmix -optimised-mixer,
any.stm ==2.5.0.1,
any.storable-complex ==0.2.3.0,
any.streaming-commons ==0.2.2.3,
any.streaming-commons ==0.2.2.4,
streaming-commons -use-bytestring-builder,
any.syb ==0.7.2.1,
any.tagged ==0.8.6.1,
Expand All @@ -166,13 +170,14 @@ constraints: any.GLURaw ==2.0.0.5,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.1,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.tuple ==0.3.0.2,
any.unix ==2.7.2.2,
any.unix-compat ==0.5.4,
unix-compat -old-time,
any.unix-time ==0.4.7,
any.unliftio ==0.2.20,
any.unliftio ==0.2.21.0,
any.unliftio-core ==0.2.0.1,
any.unordered-containers ==0.2.16.0,
any.unordered-containers ==0.2.17.0,
unordered-containers -debug,
any.utf8-string ==1.0.2,
any.vault ==0.3.1.5,
Expand All @@ -186,11 +191,11 @@ constraints: any.GLURaw ==2.0.0.5,
any.void ==0.7.3,
void -safe,
any.wai ==3.2.3,
any.warp ==3.3.18,
warp +allow-sendfilefd -network-bytestring -warp-debug,
any.warp ==3.3.20,
warp +allow-sendfilefd -network-bytestring -warp-debug +x509,
any.word8 ==0.1.3,
any.x509 ==1.7.5,
any.x509 ==1.7.6,
any.xml ==1.3.14,
any.zlib ==0.6.2.3,
zlib -bundled-c-zlib -non-blocking-ffi -pkg-config
index-state: hackage.haskell.org 2022-01-14T17:56:11Z
index-state: hackage.haskell.org 2022-03-10T16:38:41Z
31 changes: 18 additions & 13 deletions cabal.project.8.8.4.freeze
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ constraints: any.GLURaw ==2.0.0.5,
any.HUnit ==1.6.2.0,
any.MonadRandom ==0.5.3,
any.ObjectName ==1.1.0.2,
any.OneTuple ==0.3.1,
any.Only ==0.1,
any.OpenGL ==3.0.3.0,
any.OpenGLRaw ==3.3.4.1,
Expand All @@ -25,6 +26,7 @@ constraints: any.GLURaw ==2.0.0.5,
ansi-wl-pprint -example,
any.appar ==0.1.8,
any.array ==0.5.4.0,
any.arrow-utils ==0.1.1,
any.asn1-encoding ==0.9.6,
any.asn1-parse ==0.9.5,
any.asn1-types ==0.3.4,
Expand All @@ -36,7 +38,7 @@ constraints: any.GLURaw ==2.0.0.5,
any.base ==4.13.0.0,
any.base-orphans ==0.8.6,
any.base64-bytestring ==1.2.1.0,
any.basement ==0.0.12,
any.basement ==0.0.14,
any.bifunctors ==5.5.11,
bifunctors +semigroups +tagged,
any.binary ==0.8.7.0,
Expand All @@ -51,6 +53,8 @@ constraints: any.GLURaw ==2.0.0.5,
any.case-insensitive ==1.2.1.0,
any.cereal ==0.5.8.2,
cereal -bytestring-builder,
any.clock ==0.8.3,
clock -llvm,
any.colour ==2.3.6,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
Expand Down Expand Up @@ -90,11 +94,11 @@ constraints: any.GLURaw ==2.0.0.5,
any.hourglass ==0.2.12,
any.hsc2hs ==0.68.8,
hsc2hs -in-ghc-tree,
any.http-client ==0.7.9,
any.http-client ==0.7.11,
http-client +network-uri,
any.http-date ==0.0.11,
any.http-types ==0.12.3,
any.http2 ==3.0.2,
any.http2 ==3.0.3,
http2 -devel -doc -h2spec,
any.ieee754 ==0.8.0,
any.indexed-list-literals ==0.2.1.3,
Expand All @@ -103,14 +107,14 @@ constraints: any.GLURaw ==2.0.0.5,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.iproute ==1.7.12,
any.memory ==0.16.0,
memory +support_basement +support_bytestring +support_deepseq +support_foundation,
any.memory ==0.17.0,
memory +support_bytestring +support_deepseq,
any.mime-types ==0.1.0.9,
any.mmorph ==1.2.0,
any.mtl ==2.2.2,
any.nats ==1.1.2,
nats +binary +hashable +template-haskell,
any.network ==3.1.2.5,
any.network ==3.1.2.7,
network -devel,
any.network-byte-order ==0.1.6,
any.network-uri ==2.6.4.1,
Expand Down Expand Up @@ -147,7 +151,7 @@ constraints: any.GLURaw ==2.0.0.5,
splitmix -optimised-mixer,
any.stm ==2.5.0.0,
any.storable-complex ==0.2.3.0,
any.streaming-commons ==0.2.2.3,
any.streaming-commons ==0.2.2.4,
streaming-commons -use-bytestring-builder,
any.syb ==0.7.2.1,
any.tagged ==0.8.6.1,
Expand All @@ -167,13 +171,14 @@ constraints: any.GLURaw ==2.0.0.5,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.1,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.tuple ==0.3.0.2,
any.unix ==2.7.2.2,
any.unix-compat ==0.5.4,
unix-compat -old-time,
any.unix-time ==0.4.7,
any.unliftio ==0.2.20,
any.unliftio ==0.2.21.0,
any.unliftio-core ==0.2.0.1,
any.unordered-containers ==0.2.16.0,
any.unordered-containers ==0.2.17.0,
unordered-containers -debug,
any.utf8-string ==1.0.2,
any.vault ==0.3.1.5,
Expand All @@ -187,11 +192,11 @@ constraints: any.GLURaw ==2.0.0.5,
any.void ==0.7.3,
void -safe,
any.wai ==3.2.3,
any.warp ==3.3.18,
warp +allow-sendfilefd -network-bytestring -warp-debug,
any.warp ==3.3.20,
warp +allow-sendfilefd -network-bytestring -warp-debug +x509,
any.word8 ==0.1.3,
any.x509 ==1.7.5,
any.x509 ==1.7.6,
any.xml ==1.3.14,
any.zlib ==0.6.2.3,
zlib -bundled-c-zlib -non-blocking-ffi -pkg-config
index-state: hackage.haskell.org 2022-01-14T17:56:11Z
index-state: hackage.haskell.org 2022-03-10T16:38:41Z
25 changes: 15 additions & 10 deletions cabal.project.9.0.2.freeze
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ constraints: any.GLURaw ==2.0.0.5,
any.HUnit ==1.6.2.0,
any.MonadRandom ==0.5.3,
any.ObjectName ==1.1.0.2,
any.OneTuple ==0.3.1,
any.Only ==0.1,
any.OpenGL ==3.0.3.0,
any.OpenGLRaw ==3.3.4.1,
Expand All @@ -25,6 +26,7 @@ constraints: any.GLURaw ==2.0.0.5,
ansi-wl-pprint -example,
any.appar ==0.1.8,
any.array ==0.5.4.0,
any.arrow-utils ==0.1.1,
any.asn1-encoding ==0.9.6,
any.asn1-parse ==0.9.5,
any.asn1-types ==0.3.4,
Expand All @@ -36,7 +38,7 @@ constraints: any.GLURaw ==2.0.0.5,
any.base ==4.15.1.0,
any.base-orphans ==0.8.6,
any.base64-bytestring ==1.2.1.0,
any.basement ==0.0.12,
any.basement ==0.0.14,
any.bifunctors ==5.5.11,
bifunctors +semigroups +tagged,
any.binary ==0.8.8.0,
Expand All @@ -51,6 +53,8 @@ constraints: any.GLURaw ==2.0.0.5,
any.case-insensitive ==1.2.1.0,
any.cereal ==0.5.8.2,
cereal -bytestring-builder,
any.clock ==0.8.3,
clock -llvm,
any.colour ==2.3.6,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
Expand Down Expand Up @@ -90,7 +94,7 @@ constraints: any.GLURaw ==2.0.0.5,
any.hourglass ==0.2.12,
any.hsc2hs ==0.68.8,
hsc2hs -in-ghc-tree,
any.http-client ==0.7.10,
any.http-client ==0.7.11,
http-client +network-uri,
any.http-date ==0.0.11,
any.http-types ==0.12.3,
Expand All @@ -103,8 +107,8 @@ constraints: any.GLURaw ==2.0.0.5,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.iproute ==1.7.12,
any.memory ==0.16.0,
memory +support_basement +support_bytestring +support_deepseq +support_foundation,
any.memory ==0.17.0,
memory +support_bytestring +support_deepseq,
any.mime-types ==0.1.0.9,
any.mmorph ==1.2.0,
any.mtl ==2.2.2,
Expand Down Expand Up @@ -147,7 +151,7 @@ constraints: any.GLURaw ==2.0.0.5,
splitmix -optimised-mixer,
any.stm ==2.5.0.0,
any.storable-complex ==0.2.3.0,
any.streaming-commons ==0.2.2.3,
any.streaming-commons ==0.2.2.4,
streaming-commons -use-bytestring-builder,
any.syb ==0.7.2.1,
any.tagged ==0.8.6.1,
Expand All @@ -167,13 +171,14 @@ constraints: any.GLURaw ==2.0.0.5,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.1,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.tuple ==0.3.0.2,
any.unix ==2.7.2.2,
any.unix-compat ==0.5.4,
unix-compat -old-time,
any.unix-time ==0.4.7,
any.unliftio ==0.2.20,
any.unliftio ==0.2.21.0,
any.unliftio-core ==0.2.0.1,
any.unordered-containers ==0.2.16.0,
any.unordered-containers ==0.2.17.0,
unordered-containers -debug,
any.utf8-string ==1.0.2,
any.vault ==0.3.1.5,
Expand All @@ -187,11 +192,11 @@ constraints: any.GLURaw ==2.0.0.5,
any.void ==0.7.3,
void -safe,
any.wai ==3.2.3,
any.warp ==3.3.18,
warp +allow-sendfilefd -network-bytestring -warp-debug,
any.warp ==3.3.20,
warp +allow-sendfilefd -network-bytestring -warp-debug +x509,
any.word8 ==0.1.3,
any.x509 ==1.7.6,
any.xml ==1.3.14,
any.zlib ==0.6.2.3,
zlib -bundled-c-zlib -non-blocking-ffi -pkg-config
index-state: hackage.haskell.org 2022-01-25T10:30:30Z
index-state: hackage.haskell.org 2022-03-10T16:38:41Z
30 changes: 30 additions & 0 deletions essence-of-live-coding-frp/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Copyright (c) 2022, Iván Perez, Manuel Bärenz, and Miguel Negrão

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of Miguel Negrão nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3 changes: 3 additions & 0 deletions essence-of-live-coding-frp/Setup.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Distribution.Simple

main = defaultMain
37 changes: 37 additions & 0 deletions essence-of-live-coding-frp/essence-of-live-coding-frp.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: essence-of-live-coding-frp
version: 0.1.0
synopsis: FRP continuous-time combinators for essence-of-live-coding. A port of Yampa.
description: Time based cells such as integral, events (using Maybe type) and additional combinators.
homepage: https://github.com/turion/essence-of-live-coding
license: BSD3
license-file: LICENSE
author: Iván Perez, Manuel Bärenz, and Miguel Negrão
maintainer: [email protected]
category: FRP, Live coding
build-type: Simple
cabal-version: >=1.10
tested-with:
GHC == 8.8.4
GHC == 8.10.7
GHC == 9.0.2

library
hs-source-dirs: src
exposed-modules: LiveCoding.FRP
LiveCoding.FRP.Curry
build-depends: base >= 4.7
, transformers >= 0.5.2.0
, transformers-base
, mtl
, simple-affine-space
, MonadRandom
, tuple
, clock
, arrow-utils >= 0.1.1 && < 0.2
, essence-of-live-coding >= 0.2.6
default-language: Haskell2010
ghc-options: -Wall -Wno-name-shadowing -Wno-unused-do-bind -Wno-orphans

source-repository head
type: git
location: [email protected]:turion/essence-of-live-coding.git
Loading