this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Some information need to workout the mapL and setL.

+10
+10
src/Lets/Lens.hs
··· 437 437 438 438 -- | 439 439 -- 440 + -- To work on `Map k a`: 441 + -- Map.lookup :: Ord k => k -> Map k a -> Maybe a 442 + -- Map.insert :: Ord k => k -> a -> Map k a -> Map k a 443 + -- Map.delete :: Ord k => k -> Map k a -> Map k a 444 + -- 440 445 -- >>> get (mapL 3) (Map.fromList (map (\c -> (ord c - 96, c)) ['a'..'d'])) 441 446 -- Just 'c' 442 447 -- ··· 462 467 error "todo: mapL" 463 468 464 469 -- | 470 + -- 471 + -- To work on `Set a`: 472 + -- Set.insert :: Ord a => a -> Set a -> Set a 473 + -- Set.member :: Ord a => a -> Set a -> Bool 474 + -- Set.delete :: Ord a => a -> Set a -> Set a 465 475 -- 466 476 -- >>> get (setL 3) (Set.fromList [1..5]) 467 477 -- True