Skip to content

Space leak when using hold function #5

@phonje

Description

@phonje

When I input mempty as a signal into hold function, space leak occurs.
You can check the problem with the following code.

{-# LANGUAGE Arrows #-}
module Main where

import Control.Arrow
import Control.Wire
import Control.Wire.Controller

main = control $ proc _ -> do
  _ <- hold () -< mempty
  returnA -< never

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions