我是here
然后看:
Command Line UI
There is a terminal/curses based UI available through cabal install bhoogle.
我想使用堆栈而不是cabal进行安装。我跑
$ stack install hoogle
Copied executables to /home/username/.local/bin:
- bhoogle
这是我的路,太好了。让我们运行它:
$ bhoogle
bhoogle error: default hoogle database not found
at /home/username/.hoogle/default-haskell-5.0.17.hoo You can create the database by installing hoogle and running
hoogle generate
太好了,让我们这样做:
$ hoogle generate
Command 'hoogle' not found, but can be installed with:
sudo apt install hoogle
如何称呼它为笨拙?
$ bhoogle generate
bhoogle error:
default hoogle database not found
at /home/username/.hoogle/default-haskell-5.0.17.hoo
You can create the database by installing hoogle and running
hoogle generate
是否找不到可执行文件?让我们使用完整路径:
$ /home/username/.local/bin/bhoogle generate
bhoogle error:
default hoogle database not found
at /home/username/.hoogle/default-haskell-5.0.17.hoo
You can create the database by installing hoogle and running
hoogle generate
如何初始化呼号?
答案 0 :(得分:-2)
答案正在运行:
// get Uri
Uri uri = getIntent().getData();
// decode bitmap from Uri
if (uri == null) return;
try {
InputStream stream = getContentResolver().openInputStream(uri);
if (stream == null) return;
Bitmap bitmap = BitmapFactory.decodeStream(stream);
stream.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
两次。
它第一次安装许多软件包并说:
stack install hoogle
第二次没有安装软件包并说:
$ stack install hoogle
Copied executables to /home/username/.local/bin:
- bhoogle