Skip to content

Switch to handle, split, release 0.2.0.0#1

Merged
sorki merged 10 commits into
mainfrom
handle
Apr 29, 2026
Merged

Switch to handle, split, release 0.2.0.0#1
sorki merged 10 commits into
mainfrom
handle

Conversation

@sorki
Copy link
Copy Markdown
Member

@sorki sorki commented Apr 29, 2026

  • Split slcan and socketcan into public sublibraries

  • Migrate to io-classes and switch from MonadCAN typeclass
    to CAN handle (record of functions style):

    data CAN m = CAN
    { canSend :: CANMessage -> m ()
    , canRecv :: m CANMessage
    }
    
  • Runners renamed

    • runSocketCAN is now withSocketCAN
    • runSLCAN is now withSLCAN
      to reflect the handle change

@sorki sorki merged commit 7002bc8 into main Apr 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant