guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble using hashq-get-handle in Guile


From: jamil egdemir
Subject: Re: Trouble using hashq-get-handle in Guile
Date: Sun, 7 Dec 2014 18:34:04 -0500

Thien-Thi,

> IIUC, the hash table object ‘queryResults’ is made by:
>
>  https://github.com/aconchillo/guile-json/blob/master/json/parser.scm
>
> proc ‘read-object’.  For interop w/ the ‘make-hash-table’ it calls, you
> might try some variants of ‘hashq-get-handle’, namely ‘hash-get-handle’
> or ‘hashv-get-handle’.

Thank you for the suggestion.  I tried both hash-get-handle and
hashv-get-handle:

scheme@(guile-user)> (hash-get-handle queryResults 'totalNumRecords)
$27 = #f
scheme@(guile-user)> (hashv-get-handle queryResults 'totalNumRecords)
$28 = #f

seems like the result is the same. No love.  Good suggestion though...

-j



-- 
-------------------------------------------------------------
Jamil Egdemir
address@hidden
http://www.power-quant.com
(631) 338-3170 (cell)
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]