Copyright | Copyright (C) 2023 Yoo Chung |
---|---|

License | GPL-3.0-or-later |

Maintainer | dev@chungyc.org |

Safe Haskell | Safe-Inferred |

Language | GHC2021 |

Some solutions to Problems.P27 of Ninety-Nine Haskell Problems.

## Synopsis

- disjointGroups :: [Int] -> [a] -> [[[a]]]

# Documentation

disjointGroups :: [Int] -> [a] -> [[[a]]] Source #

Given a list with the sizes of each group and list of items, write a function to return the list of disjoint groups.