<commit_before>---
title: Issue 30
published: 2016-11-24
---<commit_msg>Link to "Clean alternatives with MaybeT"<commit_after>---
title: Issue 30
published: 2016-11-24
---

-   [Clean alternatives with MaybeT](http://www.parsonsmatt.org/2016/11/18/clean_alternatives_with_maybet.html)

    > The Monad instance for Maybe covers a common case: given some sequence of functions which may fail, we want to try them all and if any of them fail then we'll short circuit it all. However, that's not the only case. Very often, you'll want to take the first thing that succeeds, rather than failing unless everything works.
{'fraction_non_alphanumeric': 0.08943089430894309, 'fraction_numerical': 0.04552845528455285, 'mean_word_length': 4.176470588235294, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2820078', 'n_tokens_mistral': 196, 'n_tokens_neox': 169, 'n_words': 79}