• Modules
    • By category
    • By name
    • Most popular
    • Most downloaded
    • Repository
  • Register
  • Log in
  • Help
    • Start using Ceylon Herd
    • Publish your first module
    • Module publishing guidelines
    • All about Ceylon
    • Keyboard Shortcuts

    • s Focus search module bar
      ? Open this information panel
      j Move selection down
      k Move selection up
      enter Open current selection
Module info
Name
Voitech / herd.type.support
Description

This module is toolbox for operating on types and it's declarations. It should simplify required operations.

  • Use flat object to extract type or declaration hierarchy into stream so it can be searched or filtered.

    value stringflatHierarchy = flat.types(`String`);
    assert(stringflatHierarchy.containsEvery([`SearchableList<Character>`,`List<Character>`,`Comparable<String>`,`Object`]));
    
    value stringflatHierarchy = flat.declarations(`class String`);
    assert(stringflatHierarchy.containsEvery([`interface SearchableList`,`interface List`,`interface Comparable`,`class Object`]));
    
Last Published Aug 7, 2019
Stats Downloads (JVM): 244
Downloads (JS): 68
Source downloads: 233
Module links Imported By
Browse
List of published versions
0.2.0 JVM JavaScript JVM: 1.2.x, 1.3.x (latest) JavaScript: Unknown (10/0) Published Aug 7, 2019 Browse
View docs
0.1.0 JVM JavaScript JVM: 1.2.x, 1.3.x (latest) JavaScript: Unknown (10/0) Published Feb 6, 2019 Browse
View docs
You must be logged in to comment.

Ceylon Herd v1.24 Copyright 2012-2022 Red Hat. About