Skip to content

Commit

Permalink
export from/to binary from IOList
Browse files Browse the repository at this point in the history
  • Loading branch information
robashton committed Apr 8, 2021
1 parent fb60428 commit 7d0a9ec
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 7d0a9ec

Please sign in to comment.