Skip to content

Commit

Permalink
Merge pull request #2 from robashton/master
Browse files Browse the repository at this point in the history
export from/to binary from IOList
  • Loading branch information
nwolverson authored Apr 8, 2021
2 parents fb60428 + 7d0a9ec commit 9155275
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Erl/Data/Binary/IOList.purs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
-- | Representation of Erlang iolist().
module Erl.Data.Binary.IOList (IOList, concat) where
module Erl.Data.Binary.IOList (IOList, concat, fromBinary, toBinary) where

import Prelude

import Erl.Data.Binary.Type (Binary)
import Erl.Data.List (List)

Expand All @@ -25,4 +24,5 @@ foreign import concat :: List IOList -> IOList
foreign import fromBinary :: Binary -> IOList

-- | Collapse an IOList to a Binary
foreign import toBinary :: IOList -> Binary
foreign import toBinary :: IOList -> Binary

0 comments on commit 9155275

Please sign in to comment.