我正在寻找一种更地道的方式,如果可能的话,习惯的方法来写下面的Clojure代码: (import '(System.Net HttpWebRequest NetworkCredential)
'(System.IO StreamReader))
(defn downloadWebPage
"Downloads the webpage at the given url a
我想用IE打开一个网页并从clojure-clr中检索它的内容。我试着翻译下面C#-snippet到Clojure的,但无法加载所需的DLL使用SHDocVw(我没有在我的手Clojure的代码现在): using SHDocVw;
public void OpenBrowser(string url)
{
object o = null;
SHDocVw.InternetExplorer