Joseph C. Sible

Results 49 issues of Joseph C. Sible

I expect the regex gym to simplify `b+aa*b` to `a*b`, but in fact it has no simplifications available for it.

We should deprecate `replace` and `splitOn`, and create alternatives for them that take a `NonEmpty` instead of crashing at runtime when their first parameter is empty.

### Brief description The pcap file format supports two different link-layer header types for loopback: NULL (0), in which the header is in host byte order, and LOOP (108), in...

bug

``` /augeas/files/etc/profile.d/vte.sh/error = "parse_failed" /augeas/files/etc/profile.d/vte.sh/error/pos = "970" /augeas/files/etc/profile.d/vte.sh/error/line = "26" /augeas/files/etc/profile.d/vte.sh/error/char = "18" /augeas/files/etc/profile.d/vte.sh/error/lens = "lenses/shellvars.aug:248.12-.60:" /augeas/files/etc/profile.d/vte.sh/error/message = "Syntax error" ``` Here's the contents of that file: ``` # Copyright...

improvement
lens

`readMaybe` is implemented like this: ```haskell readMaybe :: Read a => String -> Maybe a readMaybe s = case readEither s of Left _ -> Nothing Right a -> Just...

enhancement
question
new
reexport

In #814, @treeowl asked for functions like these: ```haskell unsafeToSet :: (k -> a -> b) -> Map k a -> Set b unsafeToMap :: (b -> (k, a)) ->...

```haskell import Data.Set.Internal traverseMonotonic :: Applicative t => (a -> t b) -> Set a -> t (Set b) traverseMonotonic _ Tip = pure Tip traverseMonotonic f (Bin sz x...

```haskell import qualified Data.Map.Internal as Map import qualified Data.Set.Internal as Set fromSetA :: Applicative t => (k -> t a) -> Set.Set k -> t (Map.Map k a) fromSetA _...