Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Allow search by type signatures #172

Open
renatoathaydes opened this issue May 20, 2014 · 1 comment
Open

Allow search by type signatures #172

renatoathaydes opened this issue May 20, 2014 · 1 comment
Milestone

Comments

@renatoathaydes
Copy link

Hi, I would like to submit a feature request: to allow Ceylon programmers to search for modules/functions by type signature (in addition to normal "search by name").

This would be similar to Haskell's Hoogle

I can imagine that it would be really useful to search by type in Ceylon.

** Example 1: **
Find all functions that take a File and gets a sequence of Strings (probably a function that reads the file and returns all lines in it?):

String[](File)

** Example 2: **
Find a function that takes iterables of something (a generic type) and returns an Iterable of something elses (maybe looking for concatenate that allows transforming the items):

<From, To> {To*}((To(From), {From*}*)

This obviously suits Haskell, and in my opinion, Ceylon too.

@FroMage
Copy link
Contributor

FroMage commented May 21, 2014

That's a good idea, but it sounds very hard to implement, especially if we can search for subtypes.

@FroMage FroMage added this to the 1.18 milestone May 21, 2014
@FroMage FroMage modified the milestones: 1.18 (Ceylon 1.1), 1.19 (Ceylon 1.1.5) Oct 7, 2014
@FroMage FroMage modified the milestones: 1.19, 1.20 (Ceylon 1.2) Apr 3, 2015
@FroMage FroMage modified the milestones: 1.20 (Ceylon 1.2), 1.22 Oct 26, 2015
@FroMage FroMage modified the milestones: 1.22 (Ceylon 1.2.1), 1.23 Feb 3, 2016
@FroMage FroMage modified the milestones: 1.23, 1.24 Sep 12, 2016
@FroMage FroMage modified the milestones: 1.24, 1.25 Apr 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants