hinterface 0.5.0.1 → 0.5.0.2
raw patch · 6 files changed
+34/−91 lines, 6 filesdep ~QuickCheckdep ~arraydep ~asyncnew-uploaderPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: QuickCheck, array, async, binary, bytestring, containers, cryptonite, exceptions, hinterface, hspec, lifted-async, lifted-base, memory, monad-control, monad-logger, mtl, network, random, resourcet, safe-exceptions, stm, text, transformers, transformers-base, vector
API changes (from Hackage documentation)
Files
- README.md +0/−2
- erl_echo.escript +0/−18
- erl_hay.escript +0/−18
- hay_erl.escript +0/−16
- hinterface.cabal +32/−35
- stack.yaml +2/−2
README.md view
@@ -3,5 +3,3 @@ # hinterface - Haskell / Erlang interoperability library Inspired by Jinterface (Java), a set of tools for communication with Erlang processes.--This is work in progress, the library isn't usable yet.
− erl_echo.escript
@@ -1,18 +0,0 @@-#!/usr/bin/env escript-%% -*- erlang -*--%%! -smp enable -name erl@localhost.localdomain -setcookie cookie---mode(compile).--loop(N) ->- receive- A = {Pid, Ref, Port, Tuple, Msg} ->- io:format("Received ~p~n", [A]),- Pid ! {Pid, Ref, Port, Tuple, self(), make_ref(), [1|2], <<>>, <<"X">>, <<256:16>>, #{}, #{key => "value"}, 3.14, lists:concat(["echo: ", Msg, " (", N, ")"])};- {Pid, Other} -> Pid ! Other- end,- loop(N + 1).--main(_) ->- register(echo, self()),- loop(0).
− erl_hay.escript
@@ -1,18 +0,0 @@-#!/usr/bin/env escript-%% -*- erlang -*--%%! -smp enable -name erl2@localhost.localdomain -setcookie cookie---mode(compile).--loop(N = 1000000) ->- {hay, 'hay@localhost.localdomain'} ! ok,- N;-loop(N) ->- {hay, 'hay@localhost.localdomain'} ! {self(), N},- receive- A -> A- end,- loop(N + 1).--main(_) ->- io:format("~p~n", [loop(0)]).
− hay_erl.escript
@@ -1,16 +0,0 @@-#!/usr/bin/env escript-%% -*- erlang -*--%%! -smp enable -name hay@localhost.localdomain -setcookie cookie---mode(compile).--loop() ->- receive- {RemotePid, Value} -> RemotePid ! (Value + 1),- loop();- _ -> ok- end.--main(_) ->- register(hay, self()),- loop().
hinterface.cabal view
@@ -1,5 +1,5 @@ name: hinterface-version: 0.5.0.1+version: 0.5.0.2 cabal-version: >=1.22 build-type: Simple license: BSD3@@ -19,9 +19,6 @@ author: Timo Koepke, Sven Heyll extra-source-files: README.md- erl_echo.escript- erl_hay.escript- hay_erl.escript stack.yaml .travis.yml Setup.hs@@ -50,30 +47,30 @@ Foreign.Erlang.Mailbox Foreign.Erlang.Connection build-depends:- QuickCheck >=2.8.2 && <2.9,- array >=0.5.1.1 && <0.6,- async >=2.1.1 && <2.2,+ QuickCheck >=2.9.2,+ array >=0.5.1.1,+ async >=2.1.1, base >=4.9 && <5,- binary >=0.8.3.0 && <0.9,- bytestring >=0.10.8.1 && <0.11,- containers >=0.5.7.1 && <0.6,- cryptonite ==0.19.*,- exceptions >=0.8.3 && <0.9,- lifted-async >=0.9.0 && <0.10,- lifted-base >=0.2.3.8 && <0.3,- memory ==0.13.*,- monad-control >=1.0.1.0 && <1.1,- monad-logger >=0.3.20.1 && <0.4,- mtl >=2.2.1 && <2.3,- network >=2.6.3.1 && <2.7,- random ==1.1.*,- resourcet >=1.1.8.1 && <1.2,- safe-exceptions >=0.1.4.0 && <0.2,- stm >=2.4.4.1 && <2.5,- text >=1.2.2.1 && <1.3,- transformers >=0.5.2.0 && <0.6,- transformers-base >=0.4.4 && <0.5,- vector >=0.11.0.0 && <0.12+ binary >=0.8.3.0,+ bytestring >=0.10.8.1,+ containers >=0.5.7.1,+ cryptonite >=0.21,+ exceptions >=0.8.3,+ lifted-async >=0.9.1.1,+ lifted-base >=0.2.3.10,+ memory >=0.14.2,+ monad-control >=1.0.1.0,+ monad-logger >=0.3.21,+ mtl >=2.2.1,+ network >=2.6.3.1,+ random >=1.1,+ resourcet >=1.1.9,+ safe-exceptions >=0.1.5.0,+ stm >=2.4.4.1,+ text >=1.2.2.1,+ transformers >=0.5.2.0,+ transformers-base >=0.4.4,+ vector >=0.11.0.0 default-language: Haskell2010 default-extensions: OverloadedStrings NamedFieldPuns FlexibleContexts@@ -84,15 +81,15 @@ type: exitcode-stdio-1.0 main-is: Spec.hs build-depends:- QuickCheck >=2.8.2 && <2.9,- async >=2.1.1 && <2.2,+ QuickCheck >=2.9.2,+ async >=2.1.1, base >=4.9 && <5,- binary >=0.8.3.0 && <0.9,- bytestring >=0.10.8.1 && <0.11,- hinterface >=0.5.0.1 && <0.6,- hspec >=2.2.4 && <2.3,- monad-logger >=0.3.20.1 && <0.4,- transformers >=0.5.2.0 && <0.6+ binary >=0.8.3.0,+ bytestring >=0.10.8.1,+ hinterface >=0.5.0.2,+ hspec >=2.4.3,+ monad-logger >=0.3.21,+ transformers >=0.5.2.0 default-language: Haskell2010 default-extensions: OverloadedStrings NamedFieldPuns hs-source-dirs: test
stack.yaml view
@@ -1,4 +1,4 @@-resolver: lts-7.12+resolver: lts-8.6 packages: - '.'@@ -9,4 +9,4 @@ extra-package-dbs: [] -pvp-bounds: both+pvp-bounds: lower