<commit_before>
USING: combinators kernel sequences system vocabs ;

IN: alien.libraries.finder

HOOK: find-library os ( name -- path/f )

: find-first-library ( seq -- path/f )
    [ find-library ] find nip ;

{
    { [ os macosx?  ] [ "alien.libraries.finder.macosx"  ] }
    { [ os linux?   ] [ "alien.libraries.finder.linux"   ] }
    { [ os windows? ] [ "alien.libraries.finder.windows" ] }
} cond require<commit_msg>Revert "alien.libraries.finder: Add utiltity word find-first-library to find a shared library from a list of library stem names." Wrong fix.<commit_after>
USING: combinators system vocabs ;

IN: alien.libraries.finder

HOOK: find-library os ( name -- path/f )

{
    { [ os macosx?  ] [ "alien.libraries.finder.macosx"  ] }
    { [ os linux?   ] [ "alien.libraries.finder.linux"   ] }
    { [ os windows? ] [ "alien.libraries.finder.windows" ] }
} cond require
{'fraction_non_alphanumeric': 0.14399092970521543, 'fraction_numerical': 0.0, 'mean_word_length': 3.087962962962963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5313539', 'n_tokens_mistral': 320, 'n_tokens_neox': 316, 'n_words': 72}