Coder Social home page Coder Social logo

scalex's Introduction

Hoogle-like documentation search engine for scala library.

Usage

Scalex is a library intended to be a dependency of an application server like scalex-http

But you can run scalex directly to make it index libraries.

CLI

Commands have the following format:

<config_file> <command_name> <command_args>

Create the database

From sbt console:

> run /path/to/scalex.conf dump arbitrary.package_name /path/to/arbitrary/src

For example, when I index scalaz I run:

> run ./scalex.conf dump scalaz /home/thib/scalaz/core/src

Create the binary index

> run ./scalex.conf index

Query the database

> run ./scalex.conf search list map

* map
  collection.immutable.List#map[B]: List[+A] ⇒ (f: (A => B)) ⇒ List[B]
  Builds a new collection by applying a function to all elements of this list.

* mapConserve
  collection.immutable.List#mapConserve[B<Some(A)>Some(A)]: List[+A] ⇒ (f: (A => B)) ⇒ List[B]
  Builds a new list by applying a function to all elements of this list.Like xs map f, but returns xs unchanged if functionf maps all elements to themselves (wrt eq).

* reverseMap
  collection.immutable.List#reverseMap[B]: List[+A] ⇒ (f: (A => B)) ⇒ List[B]
  Builds a new collection by applying a function to all elements of this list andcollecting the results in reversed order.

HTTP

A HTTP API is available, see the doc

scalex's People

Contributors

ornicar avatar maba avatar vjousse avatar

Watchers

Andy Hicks avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.