Skip to content

Instantly share code, notes, and snippets.

@michaelt
Created October 7, 2012 03:50
Show Gist options
  • Select an option

  • Save michaelt/3847032 to your computer and use it in GitHub Desktop.

Select an option

Save michaelt/3847032 to your computer and use it in GitHub Desktop.
parsepacket
countPackets p =
let v = AL.parse (CA.many packetValue) p
r = fromMaybe [] $ AL.maybeResult v
in r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment