<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Josh Robertson</title>
    <description>The latest articles on DEV Community by Josh Robertson (@hossman333).</description>
    <link>https://dev.to/hossman333</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F50347%2F7a95d80b-233b-4fcd-8632-d22bc4629ed4.jpg</url>
      <title>DEV Community: Josh Robertson</title>
      <link>https://dev.to/hossman333</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hossman333"/>
    <language>en</language>
    <item>
      <title>ReasonML Warning: Unimplemented primitive used</title>
      <dc:creator>Josh Robertson</dc:creator>
      <pubDate>Tue, 26 Feb 2019 00:21:37 +0000</pubDate>
      <link>https://dev.to/hossman333/reasonml-warning-unimplemented-primitive-used-1nhi</link>
      <guid>https://dev.to/hossman333/reasonml-warning-unimplemented-primitive-used-1nhi</guid>
      <description>&lt;p&gt;If you run into the issue &lt;code&gt;Warning: Unimplemented primitive used:put&lt;/code&gt; or whatever &lt;code&gt;put&lt;/code&gt; is for you, it's probably because you forgot to include the &lt;code&gt;[@bs.module "&amp;lt;library&amp;gt;"]&lt;/code&gt; or any other FFI before your wrapping.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;external putJson: (string, Js.Json.t) =&amp;gt; request = "put";
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;which gave me the error above ^. The fix?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[@bs.module "superagent"] external putJson: (string, Js.Json.t) =&amp;gt; request = "put";
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;At least that was the case for me. (:&lt;/p&gt;

</description>
      <category>reason</category>
      <category>functional</category>
      <category>errors</category>
    </item>
  </channel>
</rss>
